home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d918.lha / MultiPlot / Docs / Multiplot.doc < prev    next >
Text File  |  1993-10-04  |  94KB  |  2,448 lines

  1.  
  2. MULTIPLOT XLNf ª©
  3. Release 1.0
  4. with Zounds! ª©
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. The program Multiplot XLNf is Shareware. All rights to the
  12. source code, programs and text belong to, and copyrights are
  13. held by, Alan Baxter. This manual is used under license and
  14. may not be copied, leased, or  resold.
  15.  
  16.  Cambridge University Department of Pathology,
  17. Division of Immunology, Tennis Court Road,
  18. Cambridge CB2 1QP, UK.
  19.  
  20. 10/3/1993
  21.  
  22.  
  23.  
  24. CHAPTER 1: INTRODUCTION
  25. This is the 6th version of Multiplot XLN which is the premier
  26. data plotting program for the Commodore Amiga. It is used in
  27. over 30 Universities world wide and Multiplot graphs have been
  28. published in peer reviewed science journals and presented at
  29. international scientific meetings.
  30. REGISTRATION AND DISTRIBUTION CONDITIONS
  31. Multiplot is not in the public domain. It is now (from XLNe)
  32. shareware and a shareware fee of USD $30, £20 UK or ASD
  33. $40 is requested. The shareware fee entitles the licensee to the
  34. most recent version of Multiplot, a printed manual, free bug
  35. fixes and discount upgrades. Extra copies of the manual and an
  36. ARexx examples companion disk are available  to registered
  37. users for $10 USD and $5 USD respectively. The printed manual
  38. and ARexx examples companion disk are not shareware, and
  39. may not be copied or distributed without the author's
  40. permission.
  41.         Multiplot may be freely distributed, but not included in a
  42. commercial package without express consent of the author. It is
  43. periodically released to Mr Fred Fish, who is licensed to
  44. distribute it in any form he sees fit providing the distribution
  45. package contains documentation and examples. This package
  46. may then be compressed and posted on any electronic
  47. distribution service.
  48.         These programs are in no way designed or intended for
  49. professional use. Any damages or losses resulting from
  50. inappropriate application of any or all of this distribution
  51. whether accidental or intentional, are not the responsibility of
  52. the author, his wife, agent, mother or (much missed) labrador;
  53. and should not, under any circumstances, be compounded by
  54. attempting long and fruitless legal action.
  55.         All rights to the documentation, source code and programs
  56. are reserved.
  57.         The inclusion of the PLT: device with Multiplot in no way
  58. implies any change in, or affects the distribution conditions of
  59. that package. Please read the documentation provided with PLT:
  60. for further information.
  61.  
  62. SUMMARY
  63. Multiplot XLN is a fully intuitive data plotting program. It
  64. plots data points as (x,y) co-ordinates with or without x or y
  65. error bars. It can plot an unlimited number of sets with any
  66. number of data points using colour, line type, line weight,
  67. point shape and point size to represent the different sets. A
  68. set may be joined by a line or plotted as discrete points. Data
  69. may be impulse plotted, scatter plotted, or shown as a
  70. histogram or step graph. Additions to the data may be made in
  71. the form of lines of best fit (logarithmic, exponential, linear
  72. and polynomial) and data smoothing utilising modified open
  73. b-splines or averaging filtration. The input file for Multiplot is
  74. a simple textfile and my be created in any ASCII text editor or
  75. saved from any spreadsheet. Multiplot supports the clipboard,
  76. and data input may be achieved solely through it. Multiplot has
  77. a full ARexx interface which provides potential for a wide
  78. variety of data manipulations including statistical analysis.
  79.         Output may be in any of the following formats: IntroCAD,
  80. Draw, mCAD, IFF, Revised Hewlett-Packard Graphics Language
  81. (HPGL/2), Encapsulated Postscript (EPSF) or Postscript. The
  82. graph can be printed to any workbench printer by transparent
  83. use of the PLT: device. Multiplot directly supports the HP
  84. LaserJet III and Postscript laser printers such as the Apple
  85. Laser printer.
  86.  
  87. REQUIREMENTS
  88. *Workbench 2.0 (or higher) including:
  89.         Maths libraries,
  90.         Assignment of ENV:, T:, and CLIPS:.
  91.         The C: directory must contain the files c:mount and
  92.            c:type.
  93.  
  94. *The PLT: device is necessary for printing. It consists of:
  95.         -PLT:-handler in the L: directory
  96.         -The mountlist entry for PLT: added to the devs:mountlist
  97.          (WB2.0) OR The device driver to be placed in the
  98.          storage/dosdrivers directory (> WB2.0).
  99.         -Assignment of the PLTDATA: directory containing PLT fonts.
  100.  
  101. *The PLT: device requires that a printer has been selected in
  102. the printer preferences window. The "Generic" printer driver is
  103. not sufficient, and trying to use PLT: without defining a
  104. printer will result in a software error  (number 80000005).
  105.  
  106. *At least 1Mb RAM.
  107.  
  108. *The directory which contains Multiplot must contain a
  109. subdirectory called "MPlot_support" (without the quotes) which
  110. must contain the files "intro.scn", "txt_2_icad", "plot2draw" and
  111. "HPGL2PS" (without the quotes).
  112.  
  113. *The file ÒMPlot.defÓ should either be in the "MPlot_support"
  114. directory, or in the S: directory.
  115.  
  116. *Zounds!  requires that the files "say.znd", "ask.znd", "ding.znd"
  117. and "zounds.img" be in the "MPlot_support" directory.
  118.  
  119. * ARexx support requires that rexxmast be running, RC be in
  120. the SYS:rexc directory, and that the /Rexx directory containing
  121. Multiplot ARexx scripts be in the Multiplot directory.
  122.  
  123. INSTALLATION
  124. 1) Open the Multiplot/PLT drawer and activate the PLT
  125. installation script by double clicking the left mouse button on
  126. the icon appropriate to you current operating system.
  127. 2) Drag the entire Multiplot drawer to the new location.
  128. 3) Add a line to your S:user-startup file assigning the
  129. PLTDATA: directory
  130.  
  131.         eg:
  132.                 assign PLTDATA: <filepath>/Multiplot/PLT/
  133.  
  134. THE Zounds! AUDITORY CUING SYSTEM
  135. Auditory cuing systems (ACS) are standard interfaces of sounds
  136. triggered by actions within application programs. The sounds
  137. are used to inform the user of a change in status of the
  138. program. Particular sounds are used to identify specific changes
  139. and become part of the user interface helping to orient the
  140. user.
  141.         Zounds! is a state of the art ACS developed for the
  142. Amiga. It is available for license to other developers and its
  143. incorporation into other application programs is encouraged by
  144. the author. It provides a set standard alerting sounds that are
  145. triggered whenever the program unexpectedly has something to
  146. tell the user. Sounds are not triggered directly as a result of
  147. user selection of icons, objects or menu selections.
  148.         A message requester triggers a sound like "Didlepom"; a
  149. falling tone not dissimilar to the falling tones used in speech
  150. when stating fact. A rising tone, "Bombidit" is triggered by
  151. requesters that are asking for a response from the user. The
  152. rising tones reflect those used in speech when asking a
  153. question.
  154.         The Zounds!  volume is set at application start-up either
  155. in the command line when the application is started from the
  156. CLI or by setting the tool types appropriately in the icon when
  157. using the Workbench. If the volume is set to 0 at start-up,
  158. Zounds!  is disabled.
  159.  
  160. Example:
  161.         From the CLI                            >Multiplot VOLUME=0
  162.         From the Workbench, set Tool Types to   VOLUME=0
  163.  
  164.         Zounds!  is completely user configurable. The sound
  165. samples used by Zounds! have names ending in the post fix
  166. .znd, are stored in a support directory (MPlot_support), and are
  167. in the standard Amiga 8SVX IFF format. These samples may be
  168. replaced by sounds chosen by the user.
  169.  
  170. CHAPTER 2: START-UP OPTIONS
  171.  
  172. WORKBENCH OPTIONS
  173. The workbench start-up options are defined in the Multiplot
  174. icon and are set as tool types. The following options are
  175. available:
  176.  
  177. SCREENMODE Keyword to be followed by one of the following:
  178.  
  179.         HIRES           Indicates 640 pixel wide (+ overscan) mode.
  180.  
  181.         SUPER           Indicates 1280 pixel wide (+ overscan)
  182. mode.
  183.         PRODUCT Indicates VGA compatible mode.
  184.         LACE            May be or'ed (|) with any of the above
  185. modes to double the vertical resolution
  186.  
  187.         A2024           Supports the Commodore A2024 monitor.
  188.         TENHERTZ        May be or'ed (|) with A2024 to indicate sync
  189. speed.
  190.         FIFTEENHERTZ    May be or'ed (|) with A2024 to indicate
  191. sync speed.
  192.  
  193. If the SCREENMODE tooltype is not included, Multiplot will
  194. clone the characteristics of the Workbench screen.
  195.  
  196.         Example: SCREENMODE=HIRES|LACE produces 640 x
  197. 400/512 screen.
  198.  
  199. SCREENDEPTH Keyword to be followed by screen depth in
  200. planes. Currently only 1 to 4 planes are available in HIRES and
  201. 1 to 2 planes in productivity. One bit plane provides 2 colours,
  202. 2 bit planes provides 4 colours, 3 bit planes provides 8 colours
  203. and 4 bit planes provides 16 colours.
  204.  
  205.         Example: SCREENDEPTH=3 produces an 8 colour screen.
  206.  
  207. SCREENWIDTH Keyword to be followed by width of screen in
  208. pixels. Screens wider than the current visible size are opened
  209. as autoscroll screens.
  210.  
  211.         Example: SCREENWIDTH=720 produces maximum horizontal
  212. overscan for a hires screen.
  213.  
  214. SCREENHEIGHT Keyword to be followed by height of screen in
  215. pixels. Screens taller than the current visible size are opened
  216. as autoscroll screens.
  217.  
  218.         Example SCREENHEIGHT=484 produces maximum vertical
  219. overscan for an NTSC interlaced screen.
  220.  
  221. STARTPRI Keyword to be followed by priority the Multiplot
  222. process should be run at. In general, priority should be
  223. between -5 and 5 to avoid conflicts with other currently active
  224. processes. Multiplot must be run at a lower priority than the
  225. PLT: device to avoid a scheduling lock-out.
  226.  
  227.         Example: STARTPRI=3 results in slightly faster execution.
  228.  
  229. PUBSCREEN Keyword to be followed by the name of a public
  230. screen for Multiplot to open on. Note that the public screen
  231. name need only include the first word of the screens name,
  232. and that the name is case sensitive. For example Workbench is
  233. recognised but WORKBENCH is not.
  234.  
  235.         Example: PUBSCREEN=Workbench results in Multiplot
  236. running on the workbench instead of its own screen.
  237.  
  238. STARTUP Keyword to be followed by name of an ARexx macro
  239. to be run from the DATA SELECTION WINDOW at start-up.
  240.  
  241.         Example: STARTUP=Rexx/Loadtable.mpt runs macro on
  242. start-up.
  243.  
  244. PORTNAME Keyword to be followed name for ARexx port when
  245. opened. The default name is MULTIPLOT.nn where nn is the
  246. lowest available number producing a unique port name.
  247.  
  248.         Example: PORTNAME=TAWNY Names the ARexx port for
  249. Multiplot "TAWNY"
  250.  
  251. SETTINGS Keyword to be followed by the name of a file
  252. containing initial settings. If not set, the file
  253. MPlot_support/MPlot.def is read. The defaults file defines the
  254. screen colours, printed pen thicknesses, axes (number, type,
  255. range), grid and tics, plot labels and locks.
  256.  
  257.         Example: SETTINGS=s:MyNiceColours Loads settings from
  258. named file.
  259.  
  260. QUIET   Prevents opening of the introduction WINDOW. It is
  261. useful for remote start-up of Multiplot especially if invoked
  262. from an ARexx macro, or if you are just sick of seeing the
  263. introduction WINDOW.
  264.  
  265.         Example: QUIET
  266.  
  267. VOLUME  Sets the volume of Zounds!  Auditory Cuing System
  268. to a value between 0 and 64. Setting a volume of 0 switches
  269. off Zounds! completely.
  270.  
  271.         Example: VOLUME=0 Switches off Zounds! Auditory Cuing
  272. System.
  273.  
  274. PSFONT  Sets the postscript output font to that named. The
  275. keyword PSFONT must be followed by one of:
  276.         Times-Roman
  277.         Helvetica
  278.         Helv-Narrow
  279.         AvantGarde
  280.         Bookman
  281.         Palatino
  282.         ZapfChancery
  283.         Courier
  284.  
  285.         Example: PSFONT=Times-Roman  Switches both postscript
  286. printed output and EPSF output fonts to Times-Roman
  287.  
  288. PSPAGE  Sets the postscript printed page size, ensuring
  289. correct placement of graphs on pages with different aspect
  290. ratios. The keyword PSPAGE must be followed by one of:
  291.         A       Sets USA page size A
  292.         4       Sets to international standard A4 page size
  293.  
  294.         Example: PSPAGE=A  Sets postscript page size to USA
  295. page size A.
  296.  
  297. CLI OPTIONS
  298. The CLI start-up options are defined on the command line and
  299. are summarised in the template:
  300.  
  301. Multiplot FILES, QUIET/S, PUBSCREEN/K, PORTNAME/K,
  302. STARTUP/K, SETTINGS/K, SCREENDEPTH/N,
  303. SCREENWIDTH/K/N, SCREENHEIGHT/K/N, SCREENMODE/K,
  304. STARTPRI/K/N, VOLUME/K/N, PSPAGE/K, PSFONT/K
  305.  
  306. Where:
  307.         ,(comma) indicates no arguments or separates arguments,
  308.         /K       indicates the keyword is required,
  309.         /S       indicates a switch keyword, and
  310.         /N       indicates a numerical argument is required.
  311.  
  312. These keywords provide the following options:
  313.  
  314. FILES Keyword to be followed by name of file to be loaded on
  315. invocation. If file was written by Multiplot it will be
  316. autoloaded. If this argument is used together with the QUIET
  317. argument, Multiplot will open a Plot window on start-up.
  318.  
  319.         Example: Multiplot FILES Data/Eric.dat
  320.  
  321. SCREENDEPTH Keyword to be followed by screen depth in
  322. planes. Currently only 1 to 4 planes are available in HIRES and
  323. 1 to 2 planes in productivity. One bit plane provides 2 colours,
  324. 2 bit planes provides 4 colours, 3 bit planes provides 8 colours
  325. and 4 bit planes provides 16 colours.
  326.  
  327.         Example: Multiplot SCREENDEPTH 3 produces an 8 colour
  328. screen.
  329.  
  330. SCREENWIDTH Keyword to be followed by width of screen in
  331. pixels. Screens wider than the current visible size are opened
  332. as autoscroll screens.
  333.  
  334.         Example: Multiplot SCREENWIDTH 720 produces maximum
  335. horizontal overscan for a hires screen.
  336.  
  337. SCREENHEIGHT Keyword to be followed by height of screen in
  338. pixels. Screens higher than the current visible size are opened
  339. as autoscroll screens.
  340.  
  341.         Example: Multiplot SCREENHEIGHT 484 produces maximum
  342. vertical overscan for an NTSC interlaced screen.
  343.  
  344. SCREENMODE Keyword to be followed by one of the following:
  345.  
  346.         HIRES                   Indicates 640 pixel wide by 200/256
  347. high (+ overscan) mode.
  348.         HIRESLACE               Indicates 640 pixel wide by 400/512 high (+
  349. overscan) mode.
  350.         SUPER                   Indicates 1280 pixel wide by 200/256
  351. high (+ overscan) mode.
  352.         SUPERLACE               Indicates 1280 pixel wide by 400/512 high
  353. (+ overscan) mode.
  354.         VGAPROD                 Indicates VGA compatible mode.
  355.         VGAPRODUCTLACE  Indicates interlaced VGA compatible
  356. mode.
  357.         A2024TENHERTZ   Supports the Commodore A2024 monitor at
  358. sync speed of 10Hz.
  359.         A2024FIFTEENHERTZ       Supports the Commodore A2024
  360. monitor at sync speed of 15Hz.
  361.  
  362. If the SCREENMODE keyword is not included, Multiplot will
  363. clone the characteristics of the Workbench screen.
  364.  
  365.         Example: SCREENMODE HIRESLACE produces 640 x
  366. 400/512 screen.
  367.  
  368. STARTPRI Keyword to be followed by priority the Multiplot
  369. process should be run at. In general, priority should be
  370. between -5 and 5 to avoid conflicts with other currently active
  371. processes. Multiplot must be run at a lower priority than the
  372. PLT: device to avoid a scheduling lock-out.
  373.  
  374.         Example: Multiplot STARTPRI 3 results in slightly faster
  375. execution.
  376.  
  377. PUBSCREEN Keyword to be followed by the name of a public
  378. screen for Multiplot to open on. Note that the public screen
  379. name need only include the first word of the screens name,
  380. and that the name is case sensitive. For example Workbench is
  381. recognised but WORKBENCH is not.
  382.  
  383.         Example: Multiplot PUBSCREEN Workbench results in
  384. Multiplot running on the workbench instead of its own screen.
  385.  
  386. STARTUP Keyword to be followed by name of an ARexx macro
  387. to be run from the DATA SELECTION WINDOW at start-up.
  388.  
  389.         Example: Multiplot STARTUP Rexx/LoadTable.mpt  runs
  390. macro on start-up.
  391.  
  392. PORTNAME Keyword to be followed name for ARexx Port when
  393. opened. The default name is MULTIPLOT.nn where nn is the
  394. lowest available number producing a unique port name.
  395.  
  396.         Example: Multiplot PORTNAME TAWNY Names the ARexx
  397. port for Multiplot "TAWNY"
  398.  
  399. SETTINGS Keyword to be followed by the name of a defaults
  400. file containing initial settings. If not set, the file
  401. MPlot_support/MPlot.def is read. The defaults file defines the
  402. screen colours, printed pen thicknesses, axes (number, type,
  403. range), grid and tics, plot labels and locks.
  404.  
  405.         Example: Multiplot SETTINGS s:MyNiceColours Loads
  406. settings from named file.
  407.  
  408. QUIET   Prevents opening of introduction WINDOW. Useful for
  409. remote start-up of Multiplot especially if invoked from an
  410. ARexx macro, or if you are just sick of seeing the introduction
  411. WINDOW.
  412.  
  413.         Example: Multiplot QUIET
  414.  
  415. VOLUME  Sets the volume of Zounds! Auditory Cuing System to
  416. a value between 0 and 64. Setting a volume of 0 switches off
  417. Zounds! completely.
  418.  
  419.         Example: VOLUME 0 Switches off Zounds! Auditory Cuing
  420. System.
  421.  
  422. PSFONT  Sets the postscript output font to that named. The
  423. keyword PSFONT must be followed by one of:
  424.         Times-Roman
  425.         Helvetica
  426.         Helv-Narrow
  427.         AvantGarde
  428.         Bookman
  429.         Palatino
  430.         ZapfChancery
  431.         Courier
  432.  
  433.         Example: Multiplot PSFONT Times-Roman  Switches both
  434. postscript printed output and EPSF output fonts to
  435. Times-Roman
  436.  
  437. PSPAGE  Sets the postscript printed page size, ensuring
  438. correct placement of graphs on pages with different aspect
  439. ratios. The keyword PSPAGE must be followed by one of:
  440.         A       Sets USA page size A
  441.         4       Sets to international standard A4 page size
  442.  
  443.         Example: Multiplot PSPAGE A  Sets postscript page size
  444. to USA page size A.
  445.  
  446.  
  447. CHAPTER 3: WINDOWS
  448.  
  449. THE INTRODUCTION WINDOW
  450. This window opens on start-up. It may be closed to continue
  451. on to use the program by clicking either mouse button or
  452. hitting any key on the keyboard. This window may be
  453. prevented from opening by using the QUIET start-up option. It
  454. is important that the QUIET option be used if Multiplot is
  455. invoked from an ARexx script, as this window does not have an
  456. ARexx interface.
  457.  
  458. THE DATA SELECTION WINDOW
  459. This window is for indicating the location and format of a data
  460. file to be input into Multiplot. Do not attempt to type raw
  461. data into this window! The DATA SELECTION WINDOW opens
  462. on start-up following the introduction WINDOW or may be
  463. opened by selecting the  menu options PROJECT/Open file,
  464. PROJECT/Add file or PROJECT/New graph. The following is a
  465. list of the major buttons with in the DATA SELECTION
  466. WINDOW and their functions.
  467.         The FILE NAME box contains the name of the data file to
  468. be plotted. The text within this box can be edited by clicking
  469. the left mouse button while the pointer is over the box, and
  470. then typing the new file name. If the FILE NAME box does not
  471. contain a file name, then Multiplot will open a new graph with
  472. no data loaded. Data can then be entered manually or pasted
  473. from the clipboard.
  474.         The PATH button will call up a file requester to help with
  475. browsing through directories trees looking for wanted data
  476. files. The selected file name is pasted into the FILE NAME box
  477. when the requester is closed.
  478.         The NONE button will clear the FILE NAME box.
  479.         The CONTINUE button accepts current settings, closes the
  480. DATA SELECTION WINDOW and loads the data from the file
  481. indicated in the FILE NAME box into the PLOT WINDOW for
  482. rendering the default graph.
  483.         Beneath the file selection box are six other boxes to
  484. indicate what column the X, Y and Error values are in. A '0'
  485. indicates value is absent. For example if the Y Error box has a
  486. '0', no error bars will be plotted. If the X box has a '0', the X
  487. values will be assumed to start at 0 and increase by 1 with
  488. each data point. If the Low Error box has a '0' but the Error
  489. box contains a valid column number, the error bars will be
  490. assumed to be symmetrical about the data point. If however,
  491. the Low Error column is defined, asymmetrical error bars may
  492. be plotted. When satisfied with the file and column
  493. specification, hit the return key or click on the CONTINUE
  494. button and the selected data file will be checked to ensure it
  495. has the number of columns required, and loaded if suitable.
  496.         If the file you identified when invoking Multiplot has
  497. previously been written by Multiplot, it will autoload without
  498. presenting you with the DATA SELECTION WINDOW.
  499.  
  500. THE PLOT WINDOW
  501. This window opens after the data file and its data columns
  502. have been defined either by loading a Multiplot File Format 2
  503. file, or by entering the information in the DATA SELECTION
  504. WINDOW. The PLOT WINDOW fills the entire screen and
  505. contains a hand crafted menu for your computing pleasure.
  506. Visible on the window will be a either a default plot of your
  507. data or the data plotted in the previously saved format (if
  508. loaded from a Multiplot File Format 2 file). This plot will show
  509. lines and points with a different colour and point type for each
  510. data set.
  511.         The PLOT window contains 5 regions. The central area is
  512. where the data is represented. The left margin contains the Y
  513. values and Y axis label of any left Y hand axes. The right
  514. margin contains the Y values and Y axis label of any right Y
  515. axes as well as any plot legends. The lower margin contains
  516. the X values and the X axis label and the top margin may
  517. contain the plot title.
  518.         On starting Multiplot, the pointer action is set to
  519. SELECT. In this mode it is possible to select objects to alter
  520. their characteristics. A data set may be selected by clicking
  521. the left mouse button near one of its points. A legend may be
  522. selected by clicking the left mouse button on it. In this mode,
  523. double clicking on an object will call up an edit window to
  524. change some feature of the object. Double clicking on a point
  525. in a data set will call up the CUSTOM PLOT window, and
  526. allow you to change line type, colour, point type and point size
  527. of the data set. It will also allow you to skip rendering that
  528. set or delete it completely. Double clicking on a legend will
  529. call the EDIT TEXT window, to allow you to edit the text in
  530. the legend. Double clicking in the top margin will call up the
  531. EDIT TEXT window to allow you to edit or add a title. Double
  532. clicking on an axis tic value allows you to edit the text of
  533. that value. This text will be reset on rescaling the axis unless
  534. the axis values lock is set in the AXIS window. Double clicking
  535. the left mouse button beneath the X Axis calls up the EDIT
  536. AXIS WINDOW to edit the X Axis, while double clicking to the
  537. right of a right hand Y Axis or to the left of a left hand Y
  538. Axis produces the EDIT AXIS WINDOW to edit the appropriate
  539. Y AXIS. The EDIT AXIS WINDOW allows you to set the
  540. minimum and maximum tic values, the number colour and type
  541. of tics, and edit the axis label.
  542.         In the SELECT mode, it is possible to move text around
  543. the screen by pressing the left mouse button while the pointer
  544. is over the text, holding it down, and dragging the text to the
  545. desired location. If the movement is small, a screen refresh
  546. may need to by forced by selecting the menu option
  547. ACTIONS/Redraw. Several blocks of text can be moved
  548. together, without changing their relationship to each other by
  549. group selecting them. Click on one block of text, hold down
  550. the shift key and select the others, then without releasing the
  551. left mouse button, drag the blocks of text to their new
  552. location. To move text vertically without any horizontal
  553. movement, select (or group select) the text, and while still
  554. holding down the left mouse button, press and hold down the
  555. 'v' key on the keyboard. Then drag the text to its new
  556. location. To move text horizontally without any vertical
  557. movement, select (or group select) the text, and while still
  558. holding down the left mouse button, press and hold down the
  559. 'h' key on the keyboard. Then drag the text to its new
  560. location. To return Axis values to their default positions
  561. (sometimes necessary if changes to margins or other formatting
  562. has displaced the value labels from the tics on the axes) select
  563. the ACTIONS/Update menu option.
  564.         Single data points can be moved in a similar manner. To
  565. select a data point, click the left mouse button over it while
  566. holding down the Ctrl key. Several data points may be group
  567. selected by holding down the shift key as well as the Ctrl key
  568. while selecting the points. To move data points vertically
  569. without any horizontal movement, select (or group select) the
  570. points, and while still holding down the left mouse button,
  571. press and hold down the 'v' key on the keyboard. Then drag
  572. the points to their new location. To move points horizontally
  573. without any vertical movement, select (or group select) the
  574. points, and while still holding down the left mouse button,
  575. press and hold down the 'h' key on the keyboard. Then drag
  576. the points to their new location.
  577.         Multiple items of different natures may be group selected
  578. together. It is possible to select whole data sets, single points
  579. and text in one go. Note however that only data points and
  580. text can be moved. Objects can be aligned by group selecting
  581. the objects to be aligned and then choosing the ACTIONS/Align
  582. Vertical or ACTIONS/Align Horizontal menu options.
  583.         A curve reader is also available in the SELECT mode. If
  584. the Alt key is held down when the left mouse button is
  585. pressed, the co-ordinates of the point indicated will be given.
  586. The curve reader automatically compensates for log axes,
  587. zooming and sliding.
  588.         The pointer action can be set to ZOOM or SLIDE by
  589. selecting these subitems from the Pointer Action option in the
  590. EDIT menu. The action of the pointer in these modes is
  591. described in CHAPTER 4.
  592.         The menus available from the PLOT WINDOW are
  593. PROJECT which relates to the loading, saving and printing of
  594. plots, EDIT which allows you to delete, copy, paste, import and
  595. export data and text, ACTIONS which allows modification of
  596. the plot, resizing, shifting and zoom, OPTIONS which changes
  597. the screen palette, axes, and cross hairs; and FUNCTIONS
  598. which allows special actions like data smoothing, line fitting
  599. and data sorting and provides access to ARexx macros. The
  600. major menu selections are described in CHAPTER 4.
  601.  
  602. THE CUSTOM PLOT WINDOW
  603. This window can be invoked either by double clicking the left
  604. mouse button while the pointer is over any of the data set's
  605. points and Multiplot is in SELECT mode, or by selecting the
  606. ACTIONS/redefine menu option. The CUSTOM PLOT WINDOW
  607. allows you to select plot colours, line type, Y-axis and whether
  608. data is plotted as a line, series of points, both, a histogram, or
  609. a step plot. If points are drawn, the point size and point type
  610. can be selected.
  611.         The COLOUR bar displays the data set colour. The colour
  612. is selected by clicking the left mouse button  over the
  613. COLOUR bar which then cycles through the available options.
  614. Note that in monochrome output, the line thickness of each
  615. colour  (or "pen") can be set from within the PRINT SETUP
  616. WINDOW. This enables the user to assign different pen weights
  617. to either different data sets or different graph elements. For
  618. example, the axis tic marks could be in the finest pen, the
  619. data sets in a medium weight pen, and the axes in the thickest
  620. pen.
  621.         The POINT SIZE box displays the current point size which
  622. can be changed either by clicking the left mouse button over
  623. either the up or down arrows, or by clicking within the POINT
  624. SIZE box to edit the value directly. If the pointsize is set to
  625. '0', each point will print as the smallest possible point
  626. achievable by the output device. For example a point of size '0'
  627. would print on an Apple LaserPrinter as a dot 1/300th inch in
  628. diameter.
  629.         The LINE TYPE box displays the current line type that
  630. data set is rendered in. The line type is selected by clicking
  631. the left mouse button over the LINE TYPE box which then
  632. cycles through the available options.
  633.         The PLOT TYPE selection is highlighted in the array of
  634. options.  Data may be plotted as points, lines, points and lines,
  635. step graph (with or without points) and impulse plots. The step
  636. graph is of the form change in X followed by change in Y. The
  637. point type may be selected from the panel of six mutually
  638. exclusive buttons on the right of the window.
  639.         The POINT TYPE selection is highlighted in the array of
  640. options. The point type is selected by clicking the left mouse
  641. button over the button displaying the desired point type.
  642.         The AXIS box defines the Y axis the data set will be
  643. plotted in. If the current graph has only a single Y Axis, this
  644. box will be blank. Otherwise, the Y Axis is indicated by moving
  645. the marker within the box.
  646.         The CONTINUE button will accept changes and proceed to
  647. the Plot window where the plot is rendered.
  648.         The SKIP button will skip the data set, so that it will not
  649. be plotted when the PLOT window is updated. The missing data
  650. set can then be recalled by selecting the ACTIONS/Redefine
  651. Plot menu option, and pushing the CONTINUE button when
  652. presented with the data set.
  653.         The KILL button is similar to the SKIP button but its
  654. effects are permanent. A single level of undelete is supported
  655. and dead data set can be revived with the EDIT/Undelete menu
  656. option providing nothing else has been deleted subsequently.
  657.         The STOP button closes the Custom Plot window without
  658. accepting any changes. If the window was opened by selecting
  659. the ACTIONS/Redefine Plot menu option, the STOP button will
  660. also skip all remaining data sets without presenting the Custom
  661. Plot window for them. 
  662.  
  663. THE AXIS WINDOW
  664. This window can be called by double clicking the left mouse
  665. button over the axis to be edited with the Mouse Action menu
  666. option set to SELECT mode. It allows the following
  667. characteristics of the axis to be edited:
  668.  
  669.         *Position (RIGHT or LEFT) of the graph may be set if
  670. there are more than one Y axes and the current axis being
  671. edited is any Y axis other than the first one. To add a right
  672. hand Y axis to a graph, select the EDIT/Add/Axis menu option,
  673. then edit the new (upper) Y axes by double clicking over  its
  674. left margin, and set the position to the right side by activating
  675. the RIGHT position button.
  676.  
  677.         *Minimum and maximum axis values. The axis scale may be
  678. reversed by placing the higher value in the minimum value box
  679. and the lower value in the maximum value box. This results in
  680. mirror image reversal of the data.
  681.  
  682.         *The number of major tics/grid lines. The number of
  683. major subdivisions may vary from 1 to 20.
  684.  
  685.         *Colour of major tics/grid lines.  Note that in
  686. monochrome output, the line thickness of each colour  (or
  687. "pen") can be set from within the PRINT SETUP WINDOW. This
  688. enables the user to assign different pen weights to different
  689. graph elements. For example, the axis tic marks could be in
  690. the finest pen, the data sets in a medium weight pen, and the
  691. axes in the thickest pen.
  692.  
  693.         *Line type of major tics/grid lines.
  694.  
  695.         *The number of minor tics/grid lines. The number of
  696. minor subdivisions may vary from 1 to 10.
  697.  
  698.         *Colour of minor tics/grid lines. Note that in monochrome
  699. output, the line thickness of each colour (or "pen") can be set
  700. from within the PRINT SETUP WINDOW. This enables the user
  701. to assign different pen weights to either different data sets or
  702. different graph elements. For example, the axis tic marks could
  703. be in the finest pen, the data sets in a medium weight pen,
  704. and the axes in the thickest pen.
  705.  
  706.         *Line type of minor tics/grid lines.
  707.  
  708.         *Axis scale type. The axes may be set as linear or
  709. logarithmic independently allowing log/lin, lin/log, log/log and
  710. lin/lin plots. Also available are Category axes in which each
  711. data set is given a value along the axis resulting in a
  712. scattergram. Either the X or the Y axis may be set as a
  713. category axis, providing vertical or horizontal scattergrams. The
  714. category axis provides default values which may be altered to
  715. distinguish points which overlap each other. For example, a
  716. vertical scattergram may be produced by setting the X axis to
  717. a category axis. Two overlapping points may be separated by
  718. selecting the point (Ctrl-LMB), locking movement to horizontal
  719. (hold down the 'h' key) and dragging one point clear of the
  720. other.
  721.  
  722.         *The axis label.
  723.  
  724.         *Scale Lock. A lock may be set preventing rescaling of
  725. the axis.
  726.  
  727.         *Values Lock. A lock may be set preventing overwriting
  728. of the axis values.
  729.  
  730.         Note that the current axis settings are taken into account
  731. for linear fits of data. For example, if the Y axis is
  732. logarithmic and the X axis linear, an exponential fit is
  733. produced (a straight line on a lin/log scale). If the X axis is
  734. logarithmic and the Y axis linear, a log fit is produced (a
  735. straight line on a log/lin scale). Log/log and true linear fits
  736. are also available.
  737.  
  738. THE EDIT POINT WINDOW
  739. This window may be called up for any data point by holding
  740. down the Ctrl key and double clicking the left mouse button
  741. over the desired data point with the Mouse Action menu option
  742. set to SELECT mode. This window allows the X and Y values
  743. of a point to be individually set, and the X and Y error bars
  744. to be altered. Note that the error bars need not be
  745. symmetrical, and one direction error bars are supported.
  746.  
  747. THE EDIT TEXT WINDOW
  748. This window is called mode by double clicking the left mouse
  749. button over some text or selecting some text and activating the
  750. EDIT/Add/Text menu option while the mouse action is in
  751. SELECT; or by clicking the left mouse button on the LABEL
  752. button in the AXIS WINDOW
  753. It allows the alteration and creation of the plot title, axis
  754. labels and values, data set legends and added text.
  755.         The TEXT Box displays the text and allows direct editing
  756. by clicking the left mouse button within the TEXT box and
  757. typing in the new text.
  758.         The FONT button calls up a font requester to allow
  759. browsing of available fonts and to preview them before use.
  760.         The FONT box describes the current font selection and
  761. allows direct changes to be made without opening the font
  762. requester.
  763.         The POINT SIZE box describes the current font size
  764. selection and allows direct changes to be made without opening
  765. the font requester.
  766.         The CONTINUE button accepts current changes and closes
  767. the EDIT TEXT WINDOW.
  768.         The STOP button rejects current changes and closes the
  769. EDIT TEXT WINDOW.
  770.  
  771. THE PRINT SET-UP WINDOW
  772. This window is called by selecting the PROJECT/Print Setup
  773. menu option.  This window allows the selection of print
  774. orientation, size and position of the current graph.
  775.         The SIZE slide bar sets the size of the plot on the
  776. printed page. The default setting is for the plot to fill the
  777. page. Clicking within the slider's run allows changes in size
  778. from 10% to 100% in 10% increments. Dragging the slider allows
  779. finer control of the plot size.
  780.         The ORIENTATION button controls the orientation of the
  781. plot. Default is for the plot to be printed in landscape (with
  782. the page lying down). Orientation may be toggled between
  783. landscape and portrait by clicking the left mouse button over
  784. the icon which represents the current setting.
  785.         The position of the plot on the page can be set by
  786. dragging the square within the POSITION box. The square
  787. represents the plot and the border of the box represents the
  788. full page.
  789.         Pen descriptions for PLT: may be defined from this
  790. window. Each pen is described by the COLOUR bar  on the
  791. right hand side of the PRINT SETUP WINDOW. The pen
  792. currently being edited is identified by its colour and may be
  793. chosen by clicking the left mouse button over the COLOUR bar
  794. to cycle through all the pens available. The number shown
  795. immediately below the COLOUR bar indicates the pen thickness.
  796. The pen thickness may be set for each pen, will be used when
  797. printing via PLT:, and is saved in the defaults file. This
  798. enables the user to assign different pen weights to different
  799. graph elements. For example, the axis tic marks could be in
  800. the finest pen, the data sets in a medium weight pen, and the
  801. axes in the thickest pen.
  802.         The SPOOL button toggles on and off the print spool
  803. which allows printing to continue in the background while you
  804. return to editing a new plot. Once the print spool has been
  805. started, Multiplot may even be quit without interrupting
  806. printing. To stop printing a spooled file, click the left mouse
  807. button on the "close gadget" (top left corner) of the PLT
  808. window on the WorkBench.
  809.         The PRINT button selects which of the currently open
  810. graphs should be printed on the page when the PROJECT/Print
  811. menu option. Only graphs in which the PRINT button is
  812. highlighted in the PRINT SET-UP WINDOW will print. A graph
  813. may be "turned off" by deselecting this button.
  814.  
  815. THE CO-ORDINATES WINDOW
  816. This window may be opened by selecting the
  817. OPTIONS/Coordinates menu option. It displays the pixel
  818. location of the pointer within the currently activated PLOT
  819. WINDOW.
  820.  
  821. THE ABOUT WINDOW
  822. This window is opened by selecting the PROJECT/About menu
  823. option. It contains the name and address of the author and
  824. information about registering Multiplot.
  825.  
  826. THE PULL WINDOW
  827. This window is opened by using the 'PULL' ARexx command. It
  828. returns to the ARexx environment any text variable entered by
  829. the user. It may be used to obtain information or values form
  830. the user from an ARexx script.
  831.  
  832. CHAPTER 4: MENUS
  833.  
  834. THE PROJECT MENU
  835.  
  836. OPEN FILE       (Left-Amiga O)
  837. Returns you to the DATA SELECTION window for loading a
  838. new file, erasing all open graphs.
  839.  
  840. ADD FILE        (Left-Amiga A)
  841. Opens the DATA SELECTION window for loading a new data
  842. file. All data sets and text described in that file will be added
  843. to the current graph.
  844.  
  845. NEW GRAPH       (Left-Amiga N)
  846. Opens the DATA SELECTION window for loading a new data
  847. file, which will be loaded onto a fresh graph in a new window.
  848.  
  849.  
  850. SWAP GRAPH
  851. Brings the indicated PLOT WINDOW to the front and sizes it
  852. to fill the screen.
  853.  
  854. EXIT GRAPH      (Left-Amiga E)
  855. Closes the current graph without quitting the program. If there
  856. are no other graphs open, it will open the DATA SELECTION
  857. window to select a new graph.
  858.  
  859. SAVE    (Left-Amiga S)
  860. Saves data, formatting and text as a Multiplot file format 2
  861. (FF2) file, overwriting original data file.
  862.  
  863. SAVEAS
  864. Saves plots in any of the following formats: IFF (loads into
  865. DPaint), Draw (loads into Draw2000 etc), IntroCAD (an
  866. excellent CAD program), mCAD (a PD CAD program), HPGL
  867. plotter language, Encapsulated Postscript and Postscript.
  868.  
  869. DEFAULTS
  870. Saves and loads current axes, tics and grid markings, pen
  871. thickness, font and palette selections. The default file used is
  872. MPlot_support/MPlot.def unless defined as another file with the
  873. SETTINGS start-up option or loaded by selecting the
  874. PROJECT/Defaults/Load menu option.
  875. Load:   Loads a new default file and reformats the currently
  876. active plot with the new settings.
  877. Save:   Saves default file with current name.
  878. Save As: Opens a file requester to save the default file under a
  879. new name.
  880.  
  881. PRINT PREVIEW
  882. Print preview is achieved via the transparent use of the PLT:
  883. device. The PLT-handler must be in your l: directory, and the
  884. PLT: mountlist must be added to your Devs:mountlist. You do
  885. not need to mount the device as Multiplot will mount PLT:
  886. automatically if it is not already mounted.
  887.  
  888. PRINT SET-UP
  889. Opens the Print Setup window which allows the selection of
  890. print orientation, size and position of the graph on the page as
  891. well as selecting between colour and black and white printing.
  892. The print spooler can be toggled on or off from this window.
  893.  
  894. PRINT           (Left-Amiga P)
  895. Printing is achieved via the transparent use of the PLT: device.
  896.  
  897. ABOUT
  898. Opens the ABOUT WINDOW displaying information about the
  899. author and registration of Multiplot.
  900.  
  901. QUIT            (Left-Amiga Q)
  902. Exits the program without saving any changes.
  903.  
  904. THE EDIT MENU
  905.  
  906. UNDELETE        (Left-Amiga Z)
  907. Replaces the last blocks of text or data sets deleted. Only a
  908. single level of undelete is maintained, but it may contain
  909. multiple items if, for example, several data sets were group
  910. selected and deleted.
  911.  
  912. CUT             Left-Amiga X)
  913. Deletes the selected data sets or text blocks and places an IFF
  914. FTXT text copy of in the clip board for transfer to another
  915. plot or program, and then deletes it from the current plot.
  916.  
  917. COPY            (Left-Amiga C)
  918. Places an IFF FTXT text copy of the selected data sets or text
  919. blocks in the clip board for transfer to another plot or
  920. program.
  921.  
  922. PASTE           (Left-Amiga V)
  923. Reads the clipboard and adds its contents to the current graph
  924. if possible.
  925.  
  926. DELETE  (Delete key)
  927. Removes currently selected point(s), data set(s) or block(s) of
  928. text.
  929.  
  930. ADD
  931. Text    Opens the EDIT TEXT WINDOW to edit the prose, font
  932. and font size of text which is added to the current plot and
  933. may be moved to the desired location. If the option is chosen
  934. while a data set is selected, it will add a legend to the data
  935. set.
  936. Data Set        Adds a data set to the end of the current open plot.
  937. Opens the CUSTOM PLOT WINDOW to set the type and colour
  938. of the data set, and the opens an EDIT POINT WINDOW to set
  939. the values of each point. After the last point has been entered,
  940. entry is terminated by selecting the STOP button in the EDIT
  941. TEXT WINDOW.
  942. Point   Adds a point to the end of the currently selected
  943. data set. Opens the EDIT POINT WINDOW to edit the point
  944. values.
  945. Axis    Adds a new Y Axis above the last Y Axis rendered. The
  946. axis may then be moved to the right side or changed by calling
  947. up the EDIT AXIS WINDOW by double clicking to the left of
  948. the new axis.
  949.  
  950. THE ACTIONS MENU
  951.  
  952. MOUSE ACTION
  953. Allows the user to select the mode in which the mouse works.
  954. The options are:
  955.  
  956. Select          (Left-Amiga-Shift !)
  957. The select mode allows the editing of data sets or axes by
  958. double clicking the left mouse button over them and allows the
  959. movement of points and text by click-dragging, and selection of
  960. text or data sets for manipulation.
  961.  
  962. Zoom            (Left-Amiga-Shift #)
  963. Allows close-up views of areas of the data, and to adjust the
  964. axes to desired values. After selecting ZOOM from the menu,
  965. the mouse may be used to draw a box on the screen to
  966. indicate the area of the plot to be enlarged. This is achieved
  967. by clicking and holding the left mouse button, dragging the
  968. mouse, and releasing the left mouse button. The maximum limit
  969. of enlargement is 1,600 times. Zooming out to reduce the size
  970. of the plot by one half is achieved by double clicking the left
  971. mouse button.
  972.  
  973. Slide           (Left-Amiga-Shift ^)
  974. After selection the mouse may be used to draw a vector on the
  975. screen to indicate the direction and amount the plot should be
  976. moved. This is achieved by clicking and holding the left mouse
  977. button, dragging the mouse, and releasing the left mouse
  978. button.
  979.  
  980. REDRAW  (Left-Amiga R)
  981. Redraws the currently active PLOT WINDOW. It should be used
  982. to repair the screen of unwanted rendering, or an incomplete
  983. refresh.
  984.  
  985. UPDATE  (Left-Amiga U)
  986. Redraws the currently active PLOT WINDOW recalculating all
  987. text positions and correcting minor displacements resulting from
  988. resizing the PLOT WINDOW.
  989.  
  990. FULLPLOT        (Left-Amiga F)
  991. Redraws the currently active PLOT WINDOW at the default
  992. scale. This plot will show all data points and the extremes of
  993. any error bars unless the X or Y scales are locked.
  994.  
  995. REDEFINE PLOT   (Left-Amiga D)
  996. Presents the user with the CUSTOM PLOT WINDOW for each
  997. data set in succession.
  998.  
  999. ALIGN VERTICAL
  1000. Aligns the selected points and text by their:
  1001. Left Edges
  1002. Centres
  1003. Right Edges
  1004.  
  1005. ALIGN HORIZONTAL
  1006. Aligns selected points and text by their:
  1007. Tops
  1008. Centres
  1009. Bottoms
  1010.  
  1011. AXIS SCALE LOCKS
  1012. Allows either the X or Y dimension to be frozen while the
  1013. other is zoomed or rescaled and allows arrangement of the
  1014. scale of the plot to best advantage. The sub item ÒX RegionÓ
  1015. will lock the amount of zoom in the X axis. The lock may be
  1016. turned off by reselecting the sub item. The same applies for
  1017. the ÒY RegionÓ selection. The ÒBoth Locks OnÓ selection will
  1018. lock both axes. They can be both turned off with ÒBoth Locks
  1019. OffÓ. Unless locked, the following options will reset the view
  1020. of your data: Full Plot, Linear Fit, Smooth and Logarithmic Fit.
  1021.  
  1022. AXIS VALUE LOCKS
  1023. Allows either the X or Y axis values to remain unchanged
  1024. despite rescaling of the axis. This option allows the editing of
  1025. axis values to create text labels without having them moved or
  1026. overwritten.
  1027.  
  1028.  
  1029. THE OPTIONS MENU
  1030.  
  1031. CROSS HAIR      (Left-Amiga L)
  1032. Provides a cross hair for the cursor to assist with zooming,
  1033. sliding and movement of points and text blocks.
  1034.  
  1035. COORDINATES
  1036. Opens the COORDINATES WINDOW providing the pixel location
  1037. of the pointer over the currently active PLOT WINDOW.
  1038.  
  1039. AXES
  1040. Allows the selection of a box frame, X and Y axes or no axes
  1041. marked.
  1042. X and Y         (Left-Amiga Y)
  1043. Box             (Left-Amiga B)
  1044. None
  1045.  
  1046. RIGHT MARGIN    (Left-Amiga M)
  1047. Toggles the right margin space for legends.
  1048.  
  1049. PALETTE
  1050. The screen palette may be altered by calling this requester.
  1051. The only non obvious feature of the requester is that by
  1052. clicking the left mouse button on the RGB characters, the
  1053. requester is converted to a hue/saturation/lightness requester
  1054. for those who think that way.
  1055.  
  1056. SIG FIGURES
  1057. Allows the number of significant figures of axis values and
  1058. formulae to be set independently. This option only applies to
  1059. values calculated subsequent to its selection. To change values
  1060. already on screen, it is necessary to force a recalculation. For
  1061. axis values this can be achieved by selecting ACTIONS/Full
  1062. Plot or ACTIONS/Redefine Plot. To alter legends of line fits,
  1063. the line fit needs to be deleted and recalculated.
  1064.  
  1065. ERROR BARS
  1066. Toggles the X and Y error bars on and off. If a data set is
  1067. loaded without error bars, and error data is added later via the
  1068. EDIT POINT window, it will be necessary to select this option
  1069. to get them rendered. If error bars are unimportant, this
  1070. option should be turned off to speed screen refresh times. This
  1071. option is set and saved as part of the plot defaults file and
  1072. the new Multiplot File Format 2 data file format.
  1073.  
  1074. THE FUNCTIONS MENU
  1075.  
  1076. SORT DATA
  1077. This option will place the data points in order of ascending X
  1078. value. This allows other manipulations of the data which
  1079. require this format.
  1080.  
  1081. SMOOTH DATA
  1082. Select a data set by clicking the left mouse button near one of
  1083. its points, and then select one of the subitems from this menu
  1084. option.
  1085.  
  1086. Filter          A new data set will be created in which each Y
  1087. value is set to the mean of the surrounding Y values from the
  1088. original data set. A requester will appear enabling you to enter
  1089. the number of values each side of the point for the mean to be
  1090. taken over. This option is most suitable for smoothing data sets
  1091. containing large numbers of points.
  1092. Interpolate     A new data set will be created in which
  1093. intermediate data points are added to create a smooth curve
  1094. tracking the original data. This option is most suitable for
  1095. smoothing data sets with relatively few points. It is sometimes
  1096. useful to provide intermediate points before filtering to provide
  1097. a smoother curve.
  1098.  
  1099. LINEAR FIT
  1100. A new data set will be created which will represent a straight
  1101. line fit of the selected data set. The formula of the line is
  1102. shown in the legend. The current axis settings are taken into
  1103. account for linear fits of data. For example, if the Y axis is
  1104. logarithmic and the X axis linear, an exponential fit is
  1105. produced (a straight line on a lin/log scale). If the X axis is
  1106. logarithmic and the Y axis linear, a log fit is produced (a
  1107. straight line on a log/lin scale). Similarly, log/log and true
  1108. linear fits are also available.
  1109.  
  1110. POLYNOMIAL FIT
  1111. Creates a new data set displaying a polynomial fit of the
  1112. selected data set. A window allows selection of the order of
  1113. fit. High order fits may require extended calculation times. A
  1114. new data set will be created which will represent the fit of the
  1115. data. The formula of the line will be displayed as its legend if
  1116. the is sufficient room.
  1117.  
  1118. AREXX MACRO             (Left-Amiga G)
  1119. Opens the file requester to select an ARexx macro for
  1120. execution.
  1121.  
  1122.  
  1123. COMMAND KEY SEQUENCES
  1124.  
  1125.         Multiplot fully supports keyboard shortcuts using the right
  1126. Amiga key. A full list of shortcuts and mnemonics is listed
  1127. below:
  1128.  
  1129. Key     Command                         Mnemonic
  1130.  
  1131. A       PROJECT/Add file                        <A>dd File
  1132. B       OPTIONS/Axes/Box                        <B>ox
  1133. C       EDIT/Copy                               <C>opy
  1134. D       ACTIONS/ReDefine Plot                   Re<D>efine Plot
  1135. E       PROJECT/Exit Graph                      <E>xit Graph
  1136. F       ACTIONS/Full Plot                       <F>ull Plot
  1137. G       FUNCTIONS/ARexx Macro                   <G>o ARexx
  1138. H       PROJECT/Save as/HPGL                    <H>PGL
  1139. I       PROJECT/Save as/ILBM                    <I>LBM
  1140. J       not used
  1141. K       PROJECT/Save as/DrawSave                <K>AD format
  1142. L       OPTIONS/Cross Hair                      Hair <L>ines
  1143. M       OPTIONS/Right Margin                    <M>argin
  1144. N       PROJECT/New Graph                       <N>ew Graph
  1145. O       PROJECT/Open File                       <O>pen
  1146. P       PROJECT/Print                           <P>rint
  1147. Q       PROJECT/Quit                            <Q>uit
  1148. R       ACTIONS/Redraw                          <R>edraw
  1149. S       PROJECT/Save                            <S>ave
  1150. T       PROJECT/SaveAs/IntroCAD                 In<T>roCAD
  1151. U       ACTIONS/Update                          <U>pdate
  1152. V       EDIT/Paste                              Commodore guidelines
  1153. W       PROJECT/Save as/Data                    <W>rite data
  1154. X       EDIT/Cut                                Commodore guidelines
  1155. Y       OPTIONS/Axes/X and Y                    X and <Y>
  1156. Z       EDIT/Undelete                           Commodore guidelines
  1157.  
  1158.         Please note that there are three other keyboard shortcuts
  1159. that allow you to swap between mouse actions. These also
  1160. require that the right Amiga key is held down.
  1161.  
  1162. Shift-1 (!)     ACTION/Mouse Action/Select
  1163. Shift-3 (#)     ACTION/Mouse Action/Zoom
  1164. Shift-6 (^)     ACTION/Mouse Action/Slide
  1165.  
  1166. The Escape and Delete keys are supported:
  1167.  
  1168. Esc             PROJECT/Quit
  1169. Del             EDIT/Delete
  1170.  
  1171.         The Alt key is used to activate the curve reader. Holding
  1172. down the Alt key while clicking the left mouse button while in
  1173. SELECT mode will result in a window that displays the X and
  1174. Y co-ordinates of the pointer.
  1175.  
  1176.         The Shift key activates group selection when in SELECT
  1177. mode.
  1178.  
  1179.         The Ctrl key allows selection of a single data point
  1180. instead of a whole data set when in SELECT mode.
  1181.  
  1182.         The 'v' key restricts movement of selected items to
  1183. vertical.
  1184.  
  1185.         The 'h' key restricts movement of selected items to
  1186. horizontal.
  1187.  
  1188. CHAPTER 5: TECHNICAL INFORMATION
  1189.  
  1190. USING THE PLT: DEVICE
  1191. 1)       The PLT-handler must be in your l: directory, and the
  1192. mountlist entry for PLT: added to the devs:mountlist (WB2.0) or
  1193. The device driver to be placed in the storage/dosdrivers
  1194. directory (WB2.1).
  1195. 2)      A printer MUST be chosen within the Printer Preferences
  1196. program. Failure to do this courts certain disaster!
  1197. 3)      You do not need to mount the device. Multiplot will
  1198. mount PLT: automatically if it is not already mounted.
  1199. 4)      PLT: opens its own window on the WorkBench when it
  1200. starts up. This  window relays information about how much of
  1201. the image has been  printed and the remaining system memory.
  1202. It also provides a "close  gadget" (The square with a dot in it
  1203. for closing windows) which will  abort the print. Use the
  1204. left-Amiga-M and left-Amiga-N key  combinations to switch
  1205. between Multiplot's screen and the WorkBench or else run
  1206. Multiplot on the WorkBench screen using the
  1207. PUBSCREEN=Workbench start-up option.
  1208. 5)      Multiplot checks for the presence of the PLT-handler in
  1209. the L:  directory before attempting to mount PLT:. If this file
  1210. is not  present, Multiplot will not print, even if the PLT:
  1211. device has been  mounted by some other mechanism.
  1212. 6)      The PLT: device checks the print resolution requested in
  1213. preferences.  If you want the nicest possible quality print-outs
  1214. from Multiplot,  set your printer density setting to "7".
  1215. 7)      PLT: currently has a bug which prevents it from handling
  1216. two tasks simultaneously. Do not attempt to print preview
  1217. while printing or print two files at once.
  1218. 8)      PLT: is unable to be used while the printer is engaged in
  1219. any task.
  1220.  
  1221. SCREEN MODES
  1222. Multiplot is designed to be run on an interlaced screen.
  1223. Occasionally it may be desired to run Multiplot on a
  1224. non-interlaced screen. This may be achieved by using the
  1225. SCREENMODE start-up option.
  1226.  
  1227. Please note:
  1228. * The vertical stretching of the buttons in the requesters
  1229. results in some confusion, especially of the orientation button
  1230. in the Print Setup window.
  1231. * The default fonts should be altered to a font suited for
  1232. non-interlace screens. This can be achieved by selecting
  1233. suitable fonts and saving the defaults by selecting the
  1234. PROJECT/Defaults/Save option.
  1235. * The vertical stretching of the printed output can be reduced
  1236. to an acceptable level by making the PLOT WINDOW as tall as
  1237. possible and decreasing its width a little.
  1238.  
  1239. MEMORY CONSERVATION
  1240. Multiplot can be used successfully on Amigas with 1 Mb RAM
  1241. or 1/2 Mb chip ram if care is taken to conserve memory. The
  1242. following measures should be used either separately or
  1243. together, depending on requirements:
  1244.  
  1245. 1)      Assign T: to a disk, not RAM. Multiplot uses the T:
  1246. directory to write temporary files.
  1247. 2)      Assign CLIPS: to a disk, not RAM. Multiplot uses the
  1248. CLIPS: directory to store data pasted to the clipboard.
  1249. 3)      Use a reduced Multiplot screen size by setting
  1250. SCREENWIDTH and SCREENHEIGHT in the start-up options.
  1251. 4)      Use a reduced  number of bitplanes for the Multiplot
  1252. screen by setting the SCREENDEPTH start-up option.
  1253. 5)      Run Multiplot on the WorkBench by setting the
  1254. PUBSCREEN start-up option
  1255.  
  1256.         If Multiplot is run on a PAL Amiga with a non interlaced,
  1257. non overscanned, 1 bitplane (2 colour) screen, it uses 270 Kb
  1258. before loading data, and 300 Kb after loading a moderately
  1259. large data file.
  1260.  
  1261. TEXT IN MULTIPLOT
  1262. Multiplot supports three kinds of text: Operator independent,
  1263. operator semidependent and operator dependent.
  1264.  
  1265. Operator Independent Text
  1266.         The Y axis labels are operator independent. Their text is
  1267. rendered in a pre-set position and cannot be moved. Its
  1268. content can be edited by double clicking the left mouse button
  1269. over the Y Axis containing the label, and then clicking the left
  1270. mouse button on the LABEL button which calls up the EDIT
  1271. TEXT WINDOW for the axis label.
  1272.  
  1273. Operator Semi-Dependent Text
  1274.         The legends, title,  X Axis label and axis values are
  1275. operator semi-dependent. They are created in a default position
  1276. but may be moved by select-dragging and edited by double
  1277. clicking. The legends are created with a small line in the
  1278. relevant colour and line-type to their left and are placed in
  1279. the right margin which is sized to fit them in an aesthetically
  1280. pleasing manner.
  1281.         The axis values are a special type of Operator
  1282. Semi-Dependent text. In general, Multiplot tries to update the
  1283. axis values as you change the characteristics of your graph.
  1284. For example, if you zoom in or out, Multiplot will replace the
  1285. axis values with new values. If you decide to toggle the right
  1286. margin, Multiplot will move the axis values with the associated
  1287. tic mark to the correct position on the axis. Disarray of
  1288. semi-dependent text can be corrected by selecting the
  1289. ACTIONS/Update menu option. Changes in the axis tic values
  1290. may not be desired, and can be avoided by turning the Axis
  1291. Values Lock ON, either by the OPTIONS/Lock menu or by
  1292. setting the Values Lock within the edit Axis window (double
  1293. click the left mouse button over the axis).
  1294.  
  1295. Operator Dependent Text
  1296.         Any text added to enhance a plot (arbitrary text) must be
  1297. dragged to the desired location by the user. It can be edited or
  1298. deleted in the normal manner.
  1299.  
  1300. FONTS
  1301. Text representation in Multiplot is complicated by the bit
  1302. mapped nature of the Amiga fonts. Multiplot handles graphics
  1303. by vector mapping. That is, it draws lines by deciding on a
  1304. starting point and an end point and joining them with a line of
  1305. the highest resolution it can. This is why it manages to support
  1306. CAD and DTP programs through its various output formats, why
  1307. it can draw to a screen of any size, and why its printed output
  1308. looks so smooth. The Amiga fonts are bit mapped. That is
  1309. rather like drawing by colouring in the squares of a crossword
  1310. puzzle.
  1311.         Multiplot has to try to cope with the inability of Amiga
  1312. fonts to scale or provide satisfactory printed output. As a
  1313. result, Multiplot maintains two "layers". The lower layer is
  1314. scalable and contains the data points, lines, axes, tics and
  1315. error bars. The upper, superimposed layer is the bit mapped
  1316. layer in which the Amiga fonts reside. This layer does not
  1317. scale.
  1318.         On screen text in Multiplot represents the actual location
  1319. and size of printed text as a proportion of the graph's overall
  1320. dimensions. Text size and shape may be altered either by
  1321. changing the font or by changing the PLOT WINDOW
  1322. dimensions. The larger the window, the smaller the text will
  1323. appear relative to the overall page size. Similarly, text
  1324. characters may be made to appear taller by shortening the
  1325. height of the window. The printed font used is the HPGL
  1326. default font, which is similar to Courier. On screen, this font
  1327. may be represented by any mono-spaced font. The font
  1328. requester allows you to select a font of any size, including
  1329. sizes not available on your Fonts: directory. While these sizes
  1330. may not appear attractive on screen, they will print as well as
  1331. any other size.
  1332.         It is important to remember these general principles:
  1333. Multiplot is WYSIWYG ("What you see is what you get") IF the
  1334. same font type is used on-screen as is used for output. As
  1335. HPGL uses fixed-width fonts, Print Preview and WB printer
  1336. output will only resemble the screen contents if a fixed width
  1337. screen font is used like Courier or Topaz. If a proportional
  1338. font like Helvetica is chosen for Postscript output, you should
  1339. choose a proportional font for  screen use also. These
  1340. precautions will ensure optimal placement of axis values and
  1341. text in the printed output.
  1342.         The PSFONT startup options affect the postscript output
  1343. fonts only and not the on screen fonts which the user can set
  1344. independently.
  1345.  
  1346. MULTIPLE GRAPHS IN MULTIPLOT
  1347. Multiplot allows the editing of multiple graphs at the same time
  1348. in separate PLOT WINDOWs. Every open graph is printed if the
  1349. PROJECT/Print option is chosen by using a "virtual page"
  1350. system. Graphs can be swapped to the front by selecting the
  1351. PROJECT/Swap Graph menu option. If more that 2 graphs are
  1352. in memory, a requester will ask for the graph number to swap
  1353. to.
  1354.         Each graph maintains its own Print Setup window which
  1355. controls where on the printed page its graph will appear, what
  1356. size it will be, and which orientation (portrait or landscape).
  1357. On selecting PROJECT/Print each graph in memory will be
  1358. printed according to its own print set-up on the same page.
  1359. While the page is in memory it is referred to as a virtual page,
  1360. because although it exists only in memory, it is possible to
  1361. draw on it as one might on a real page. If you do not wish a
  1362. currently open Plot to be printed when you print, you must
  1363. turn off the PRINT button in the PRINT SETUP WINDOW for
  1364. that plot. The virtual page can be viewed by choosing the
  1365. PROJECT/Print Preview menu option. In addition to printing,
  1366. file saves in Postscript, Encapsulated postscript and HPGL
  1367. support the virtual page, and will write files describing all
  1368. graphs in memory. IFF, IntroCAD and Draw saves only save the
  1369. currently active graph which is the one visible in the active
  1370. Plot window.
  1371.  
  1372. NOTES ON OUTPUT FILE FORMATS
  1373. Currently Draw, IntroCAD, and mCAD saves do not include the
  1374. numbers or labels on axes. This is because of the lack of font
  1375. support in these programs. Draw saves require the program
  1376. plot2draw to be in the MPlot_support directory. IntroCAD saves
  1377. require the program txt_2_icad to be in the MPlot_support
  1378. directory. EPSF and postscript saves require the program
  1379. HPGL2PS to be in the MPlot_support directory .
  1380.  
  1381. Also note:
  1382. 1)      Neither Professional Page nor PageStream handle Draw
  1383. files with large  dimensions very well. If your dimensions are
  1384. greater than 200 units, these programs often scramble the data.
  1385. Rescale your data to keep  within these limits if you wish to
  1386. import to either of these  programs. Data may be rescaled by
  1387. adding a line to the data file  which begins with
  1388. "*SCALFACT*" and contains scale factors by which  data
  1389. following is to be multiplied. Scale factor columns map to data
  1390. columns after the keyword "*SCALFACT*" is discarded.
  1391. 2)      Professional Page does not recognise Draw format line
  1392. types. All line type information is lost in transferring Draw
  1393. format plots to Professional Page.
  1394. 3)      PixelScript does not support PostScript line types. All line
  1395. type information is lost when transferring postscript output to
  1396. Pixel  Script.
  1397. 4)      mCAD does not handle plots with small dimensions very
  1398. well. If your data is in hundredths of units, mCAD will not
  1399. plot anything on the  screen. This can be corrected by using
  1400. *SCALFACT* to rescale data.
  1401. 5)      CAD file formats are very poorly optimised. As a result,
  1402. saves of  large plots may take a long time.
  1403.  
  1404.  
  1405. INPUT FILE FORMAT
  1406. Multiplot accepts a simple ASCII file for input of data. This
  1407. file may be written on any text editor, including the NotePad,
  1408. or may be generated as a textfile from a spreadsheet. Multiplot
  1409. does not choke on the linefeed/carriage-return of IBM style
  1410. spreadsheets. The data must consist of columns of numbers and
  1411. need not contain text.
  1412.         Text heading the file will be ignored and may be used for
  1413. an explanatory note. Blank lines or lines of text interrupting
  1414. the columns of numbers are interpreted as separating sets of
  1415. data, and each set will be plotted individually in, for example,
  1416. a different colour or point size. See "plotme.dat" or "eric.dat"
  1417. for examples of the input file format.
  1418.         Multiplot saves data in a special file format called
  1419. Multiplot File Format 2. MFF2 contains a header which
  1420. describes the plot defaults, axes, labels and text. The body of
  1421. the file contains columns of data in the format described above
  1422. for input. Each row contains values describing a separate point.
  1423. Each point may be described by a value for X, Y, high error in
  1424. X, low error in X, high error in Y, and low error in Y. The
  1425. two left most columns are always X and Y. If the file contains
  1426. only 4 columns, the following two columns may be either high
  1427. and low errors in X or Y. If the file contains 6 columns the
  1428. order is (left to right) X, Y, high error in X, low error in X,
  1429. high error in Y, low error in Y. Data sets are separated by a
  1430. blank line and a header describing how the data set is to be
  1431. rendered and describing its associated legend.
  1432.         Text is saved with information describing the font,
  1433. character size and screen location.
  1434.         Multiplot XLNf can also read the files written by the
  1435. previous version of Multiplot, XLNe. Unfortunately some
  1436. information is lost due to incompatibilities, particularly in the
  1437. way text is recorded.
  1438.  
  1439. CLIPBOARD CLIP FORMAT
  1440. The clipboard format conforms to the MFF2 file format except
  1441. that the file header is not saved. Data sets are saved complete
  1442. with the header information describing the colour, point size,
  1443. line type etc. All saved text is saved in the text format
  1444. described above. When interpreting a file pasted from clipboard,
  1445. Multiplot will assume the left most column contains X values
  1446. and the next Y values. If only three columns are present, the
  1447. third column is assumed to be error in Y (symmetrical). If four
  1448. columns are present, the third column is assumed to be high
  1449. error in Y and the fourth is assumed to be low error in Y. If
  1450. there are five columns, the third is assumed to be symmetrical
  1451. error in X, the fourth high error in Y and the fifth low error
  1452. in Y. If more than five column are present, the column order is
  1453. interpreted as for the MFF2 file format.
  1454.  
  1455. DEFAULT FILE FORMAT
  1456. The default file format contains two parts. The first part
  1457. described the 16 pens available within Multiplot. Each pen is
  1458. described on a single line by colour (three values, one each for
  1459. the red, green and blue components) and a pen width. The
  1460. second part of the default file contains a FF2 file header
  1461. describing the plot defaults, axes and text.
  1462.  
  1463. CHAPTER 6: AREXX
  1464. The best way of learning any programming language is by
  1465. example. An ARexx Macro Examples disk is available for $5
  1466. USD plus postage and packaging. This disk includes all the
  1467. examples below as well as a collection of useful macros for
  1468. manipulating data and performing simple statistical analysis.
  1469. STARTING OUT
  1470. Multiplot will automatically open an ARexx port on start-up
  1471. providing it can open the rexxsyslib.library library and ARexx
  1472. is running. The port will be named MULTIPLOT.nn unless
  1473. defined otherwise using PORTNAME start-up options. This port
  1474. may be used as a user interface to control all of Multiplot's
  1475. functions.
  1476.         An ARexx macro interacting with Multiplot must contain a
  1477. comment line at the start. It must then set the command
  1478. address to Multiplot's port. Then any lines following will be
  1479. sent to Multiplot for interpretation.
  1480.  
  1481. Example 1:
  1482.  
  1483. /* This is a simple example script to get past the DATA
  1484. SELECTION WINDOW*/
  1485. address MULTIPLOT.01
  1486. /* The above line tells ARexx that you want to control
  1487. Multiplot */
  1488. 'FILE'
  1489. /* The above line clears the file name  */
  1490. 'CONTINUE'
  1491. /* The above line closes the DATA SELECTION WINDOW */
  1492. /* End script */
  1493.  
  1494. Multiplot has ARexx "modes" which are the equivalents of the
  1495. currently open windows or requesters. You can ask Multiplot
  1496. which window is currently receiving ARexx commands by
  1497. sending a 'QUERY' command. Multiplot will then return a
  1498. string stating its current mode. Commands that result in a
  1499. message requester do not generate an ARexx message. The
  1500. requester will, however, answer a 'QUERY' and reply with the
  1501. error message. System requesters (such as the "Insert disk X:"
  1502. requester) do not support ARexx and must be either disabled or
  1503. dealt with individually.
  1504.         Each mode supports a subset of commands and if a
  1505. command is received that is not supported, Multiplot will
  1506. return an error code. Neither the ABOUT WINDOW nor the
  1507. INTRODUCTION WINDOW uses the ARexx port. As they both
  1508. require input by mouse or keyboard to clear, neither window
  1509. should be opened from an ARexx script. To avoid the
  1510. INTRODUCTION WINDOW, use the QUIET start-up option. The
  1511. ABOUT WINDOW cannot be opened by ARexx command and
  1512. does not require any special handling to avoid.
  1513.  
  1514. GLOBAL AREXX COMMANDS
  1515. The following commands are available in all windows with the
  1516. few exceptions noted below.
  1517.  
  1518. QUERY Returns a value describing the currently active window
  1519. and often provides other useful information. The exact format
  1520. of the returned value depends on the current window and is
  1521. described for each window individually below.
  1522.  
  1523. ERROR N Returns text describing the error resulting in the
  1524. error code supplied where N is the error code.
  1525.  
  1526. ASK <text>  Opens an ASK WINDOW to query the user and
  1527. returns the text of the reply, either "OKAY" or "CANCEL".
  1528. This option is unavailable from the ASK and MESSAGE
  1529. WINDOWs.
  1530.  
  1531. SAY <text> Opens a MESSAGE WINDOW to notify the user of
  1532. <text>. This option is unavailable from the ASK and MESSAGE
  1533. WINDOWs.
  1534.  
  1535. PULL <text> Opens a PULL WINDOW to query the user for a
  1536. value and returns that text.
  1537.  
  1538.  
  1539. THE MESSAGE WINDOW
  1540. This window is used to inform the user of errors, warnings or
  1541. to pass other messages.
  1542. The supported commands are:
  1543.  
  1544. QUERY Returns "MESREQ <message>"
  1545.  
  1546. CONTINUE Closes MESSAGE WINDOW, acknowledging the
  1547. message.
  1548.  
  1549. STOP Closes MESSAGE WINDOW, acknowledging the message.
  1550.  
  1551. THE ASK WINDOW
  1552. This window asks the user a question which must be answered
  1553. by either confirming or negating the question.
  1554. The supported commands are:
  1555.  
  1556. QUERY Returns "ASKREQ <question>"
  1557.  
  1558. POSTEXT Returns text describing the positive option.
  1559.  
  1560. NEGTEXT Returns text describing the negative option.
  1561.  
  1562. CONFIRM Closes ASK WINDOW, accepting positive option.
  1563.  
  1564. CONTINUE  Closes ASK WINDOW, accepting positive option.
  1565.  
  1566. DENY Closes ASK WINDOW accepting negative option.
  1567.  
  1568. STOP Closes ASK WINDOW accepting negative option.
  1569.  
  1570. THE DATA SELECTION WINDOW
  1571. This window provides a way of setting the input file name and
  1572. the column numbers to be read for data within that file.
  1573. The supported commands are:
  1574.  
  1575. QUERY Returns "DATSEL filename"
  1576.  
  1577. CONTINUE Closes window, accepting current settings,
  1578. continuing on to the Plot window.
  1579.  
  1580. QUIT Closes window rejecting changes and quits Multiplot if
  1581. there is no open PLOT WINDOW.
  1582.  
  1583. STOP Closes window rejecting changes and quits Multiplot if
  1584. there is no open PLOT WINDOW.
  1585.  
  1586. FILE [<filename>] If no file name is defined, clears the file
  1587. name field allowing a blank plot to be opened. If file name is
  1588. defined, loads that name into the FILE box of the window.
  1589.  
  1590. REQ Opens the file requester to assist with locating a data file
  1591. for input.
  1592.  
  1593. COLUMN N XCOL|YCOL|ECOL|EDWN|XERR|XEDN Sets column
  1594. number for a data type. Requires 2 arguments. The first (N) is
  1595. numerical and is the column number. The second defines the
  1596. data type, and must be one of the following:
  1597.  
  1598.         XCOL    X values
  1599.  
  1600.         YCOL    Y values
  1601.  
  1602.         ECOL    Error in  Y values
  1603.  
  1604.         EDWN    Low error in Y values for asymmetrical errors
  1605.  
  1606.         XERR    Error in X Values
  1607.  
  1608.         XEDN    Low error in X values for asymmetrical errors
  1609.  
  1610. THE PLOT WINDOW
  1611. These windows (multiple windows may be open at a time) are
  1612. used to render graphs. The currently active window is chosen
  1613. with the 'ACTIVATE' command. To take the place of mouse
  1614. controlled object and group selection is the 'SELECT' command.
  1615. In order to make this command as flexible as possible, object
  1616. selection involves multiple actions.
  1617.  
  1618. Example 2:
  1619. To select and edit a data set requires 3 steps: 1) Select data
  1620. set, 2) Confirm selection and 3) Launch selection:
  1621.  
  1622. /* This is a simple example script to open the Custom Plot
  1623. Window for the first data set in a graph once on screen */
  1624.  
  1625. address MULTIPLOT.01
  1626. 'SELECT SET 1'
  1627. 'SELECT ADD'
  1628. 'LAUNCH'
  1629. /* End script */
  1630.  
  1631.         Both legends and individual points are regarded as being
  1632. part of a data set that must be selected first. Therefore
  1633. selecting a point involves 4 steps: 1) Select data set, 2) Select
  1634. point, 3) Confirm selection, and 4) Launch selection:
  1635.  
  1636. Example 3:
  1637. /* This is a simple example script to open the Edit Point
  1638. Window for the fifth point in the first data set in a graph */
  1639. address MULTIPLOT.01
  1640. 'SELECT SET 1'
  1641. 'SELECT POINT 5'
  1642. 'SELECT ADD'
  1643. 'LAUNCH'
  1644. /* End script */
  1645.  
  1646.         Multiple objects can be selected by using 'SELECT ADD'
  1647. to add them to the selection list. A group selection can be
  1648. aborted by using the 'SELECT ABORT' command or by using
  1649. 'SELECT REPLACE' to replace the current selection list with
  1650. the most recently selected object.
  1651.  
  1652. Example 4:
  1653. The following is an example in which the legend, and first two
  1654. points are deleted from a currently displayed data set:
  1655.  
  1656. /* This is a simple example script to delete the legend and
  1657. first two points first data set in a graph */
  1658. address MULTIPLOT.01
  1659. /* simple so far */
  1660. 'SELECT SET 1'
  1661. 'SELECT TEXT'
  1662. 'SELECT ADD'
  1663. /* The above 3 lines selects the legend from the first data set
  1664. */
  1665. 'SELECT SET 1'
  1666. 'SELECT POINT 1'
  1667. 'SELECT ADD'
  1668. /* The above 3 lines selects the first point from the first data
  1669. set and adds it to the existing selection */
  1670. 'SELECT SET 1'
  1671. 'SELECT POINT 2'
  1672. 'SELECT ADD'
  1673. /* The above 3 lines select the second point from the first
  1674. data set and adds it to the previous selection */
  1675. 'CUT''
  1676. /* The above line cuts the selection to clipboard */
  1677. /* End script */
  1678.  
  1679. Data may be exchanged between Multiplot and the ARexx script
  1680. using the PEEK, POKE and PULL commands which work
  1681. through the Rexx Variables Interface. The PEEK command
  1682. copies data from Multiplot and places it in specially named
  1683. variables. ARexx scripts may "PEEK" at either a single point or
  1684. at all the values from a data set. The POKE command copies
  1685. data from the ARexx script and places it within a selected
  1686. point or data set. Again the data transferred is copied from a
  1687. specially named variable. The PULL command is available from
  1688. all windows and was described above in the section on Global
  1689. Commands.
  1690.  
  1691. Below is a full list of supported ARexx commands:
  1692.  
  1693. QUERY Returns "PLOWIN <filename> N" Where <filename> is
  1694. the current plot and N is the number of data sets within that
  1695. graph.
  1696.  
  1697. PEEK N [NOVALS|XVALS|YVALS|EVALS|EDWN|XEVALS|XEDWN]
  1698. Copies data from the Nth selected item to be stored with in
  1699. the ARexx program as a variable with the same name as the
  1700. selected option. If a point is peeked at (ie the Nth selection is
  1701. a selected point) then the option key word is not used and the
  1702. point's values are stored in an ARexx variable named
  1703. POINTVALS as text containing six words describing the X, Y,
  1704. high error in X, low error in X, high error in Y and low error
  1705. in Y in that order. If a data set is peeked at (ie the Nth
  1706. selection is a selected data set) then the following key words
  1707. effect the response by Multiplot:
  1708.  
  1709. NOVALS  Stores a single word describing the number of values
  1710. in the data set in an ARexx value called "NOVALS".
  1711.  
  1712. XVALS   Stores a text string with all the X values of the
  1713. data set in a value called "XVALS".
  1714.  
  1715. YVALS   Stores a text string with all the  Y values of the
  1716. data set in a value called "YVALS".
  1717.  
  1718. EVALS   Stores a text string with all the high error in Y
  1719. values of the data set in a value called "EVALS".
  1720.  
  1721. EDWN    Stores a text string with all the low error in Y values of
  1722. the data set in a value called "EDWN".
  1723.  
  1724. XEVALS  Stores a text string with all the high error in X
  1725. values of the data set in a value called "XEVALS".
  1726.  
  1727. XEDWN   Stores a text string with all the  low error in X
  1728. values of the data set in a value called "XEDWN".
  1729.  
  1730. POKE N
  1731. [NOVALS|XVALS|YVALS|EVALS|EDWN|XEVALS|XEDWN] Copies
  1732. data to the Nth selected item from an ARexx program variable
  1733. with the same name as the selected option. If a point is poked
  1734. at (ie the Nth selection is a selected point) then the option
  1735. key word is not used and the point's values are read from  an
  1736. ARexx variable named POINTVALS as text containing six words
  1737. describing the X, Y, high error in X, low error in X, high
  1738. error in Y and low error in Y in that order. If a data set is
  1739. poked at (ie the Nth selection is a selected data set) then the
  1740. following key words effect the response by Multiplot:
  1741.  
  1742. NOVALS  Ensures that the selected data set has NOVALS
  1743. number of values in it ready to receive that number of data
  1744. points on a subsequent POKE command where NOVALS is the
  1745. name of a variable set within the ARexx script. If a data set
  1746. has too few values, it will be enlarged to hold NOVALS number
  1747. of points.
  1748.  
  1749. XVALS   Reads a text string stored in an ARexx variable
  1750. called "XVALS" and copies the values to the selected data set's
  1751. X values.
  1752.  
  1753. YVALS   Reads a text string stored in an ARexx variable
  1754. called  "YVALS" and copies the values to the selected data
  1755. set's Y values.
  1756.  
  1757. EVALS   Reads a text string stored in an ARexx variable
  1758. called  "EVALS" and copies the values to the selected data
  1759. set's high error in Y values.
  1760.  
  1761.  
  1762. EDWN    Reads a text string stored in an ARexx variable called
  1763. "EDWN" and copies the values to the selected data set's low
  1764. error in Y values.
  1765.  
  1766.  
  1767. XEVALS  Reads a text string stored in an ARexx variable
  1768. called "XEVALS" and copies the values to the selected data
  1769. set's high error in X values.
  1770.  
  1771.  
  1772. XEDWN   Reads a text string stored in an ARexx variable
  1773. called "XEDWN" and copies the values to the selected data
  1774. set's low error in X values.
  1775.  
  1776.  
  1777. OPEN Closes all open plots and provides the Data Selection
  1778. Window to select a new data file.
  1779.  
  1780. ADDFILE Opens the Data Selection Window, to add data file
  1781. selected to the currently active Plot Window.
  1782.  
  1783. NEWGRAPH Opens the Data Selection Window, to load data file
  1784. selected into a new Plot Window.
  1785.  
  1786. ACTIVATE N Activates (selects) the Nth Plot Window.
  1787.  
  1788. CLOSEGRAPH Closes currently activated Plot Window.
  1789.  
  1790. SAVE Saves data file with current file name.
  1791.  
  1792. HPGLSAVE <filename> Saves all open plots as an HPGL file.
  1793.  
  1794. MCADSAVE <filename> Saves currently active Plot Window as a
  1795. MCAD file.
  1796.  
  1797. ILBMSAVE <filename> Saves screen as an IFF ILBM file.
  1798.  
  1799. DRAWSAVE <filename> Saves all open plots as a DRAW file.
  1800.  
  1801. PSCRSAVE <filename> Saves all open plots as a Postscript file.
  1802.  
  1803. EPSFSAVE <filename> Saves all open plots as an encapsulated
  1804. Postscript file.
  1805.  
  1806. ICADSAVE <filename> Saves currently active Plot Window as an
  1807. IntroCAD file.
  1808.  
  1809. DATSAVE <filename> Saves currently active Plot Window as a
  1810. Multiplot data file.
  1811.  
  1812. SADEF Saves default settings.
  1813.  
  1814. PREVIEW Provides print preview.
  1815.  
  1816. PROPT Allows setting print options via the Print Setup
  1817. Window.
  1818.  
  1819. PRINT Prints all open graphs.
  1820.  
  1821. QUIT Closes all Plot Windows and quits Multiplot.
  1822.  
  1823. SELECT ABORT|REPLACE|ADD|(SET N)|(TEXT [N])|(POINT N)
  1824. Selects the indicated object. Is the ARexx equivalent of "single
  1825. clicking" the left mouse button in the indicated object. Note
  1826. above explanation of the use of SELECT and its options. The
  1827. supported modifiers are:
  1828.  
  1829. ABORT           Cancels selection in process
  1830.  
  1831. REPLACE         Accepts selection, replacing previously selected
  1832. objects
  1833.  
  1834. ADD             Accepts selection, adding it to previously selected
  1835. objects
  1836.  
  1837. SET N           Selects the Nth data set.
  1838.  
  1839. TEXT [N]        If data set selected but not confirmed, this option
  1840. modifies selection to indicate the legend of the selected data
  1841. set. If no data set is selected, it selects the Nth additional
  1842. text in the currently activated Plot Window.
  1843.  
  1844. POINT N         Used to modify selection of a data set to indicate
  1845. the Nth point of that set.
  1846.  
  1847. UNSELECT Dumps list of selected objects.
  1848.  
  1849. LAUNCH Launches selected objects. Is the ARexx equivalent of
  1850. "double clicking" the left mouse button.
  1851.  
  1852. UNDELETE Replaces any deleted selections.
  1853.  
  1854. CUT Copies currently selected objects to clip board then
  1855. deletes them from currently activated Plot Window.
  1856.  
  1857. COPY Copies currently selected objects to clip board.
  1858.  
  1859. PASTE Pastes clipboard contents to currently activated Plot
  1860. Window.
  1861.  
  1862. DELETE Deletes currently selected objects.
  1863.  
  1864. TEXTADD <String> Adds string as an additional text label.
  1865.  
  1866. SETADD Opens Custom Plot Window and subsequent Edit Point
  1867. Windows to permit addition of a new data set to the currently
  1868. active Plot Window.
  1869.  
  1870. POINTADD Opens the Edit Point Window to define an
  1871. additional point which is added to the currently selected (and
  1872. confirmed) data set.
  1873.  
  1874. AXISADD Adds a new Y Axis.
  1875.  
  1876. EDAXIS YAXIS|XAXIS [N] Opens the Edit Axis Window to open
  1877. the indicated axis. If the YAXIS modifier is used, the optional
  1878. numerical modifier indicates that the Nth Y axis is to be
  1879. edited.
  1880.  
  1881. EDTITLE Opens the Edit Text Window to modify the title text.
  1882.  
  1883. FULLPLOT Resets axis dimensions and replots current graph to
  1884. fit within new axes.
  1885.  
  1886. REDRAW Refreshes graph rendering.
  1887.  
  1888. REPLOT Recalculates text positions and scaling, then redraws
  1889. graph.
  1890.  
  1891. DEFINEPLOT Sequentially opens an Custom Plot window for
  1892. each data set in current graph.
  1893.  
  1894. COORDWINDOW Opens the Coordinate window which displays
  1895. current pixel locations of the mouse pointer.
  1896.  
  1897. FUNCTION SORT|FILTER|INTERP|SLINE|POLY N Performs one
  1898. of the following functions on the currently selected data set.
  1899.  
  1900. SORT            Sorts the points into ascending X values.
  1901.  
  1902. FILTER          Smoothes data set by a rolling mean method
  1903. producing a new data set displaying the result.
  1904.  
  1905. INTERP  Smoothes data set by an open B-spline interpolation
  1906. method producing a new data set displaying the result.
  1907.  
  1908. SPLINE          Calculates a best straight line fit of data by
  1909. the least squares method producing a new data set displaying
  1910. the result.
  1911.  
  1912. POLY N  Calculates a polynomial to the Nth order (where N
  1913. must be an integer from 1 to 5) best fit of data using a Gauss-
  1914. Seidel iterative technique producing a new data set displaying
  1915. the result.
  1916.  
  1917. SFIGS VAL|FORM Sets the number of significant figures used
  1918. in calculating the following:
  1919.  
  1920.         VAL     Axis tic values.
  1921.  
  1922.         FORM    Values used in formulae produced from
  1923. functions.
  1924.  
  1925. YERRBARS ON|OFF Sets the display of Y error bars (if data is
  1926. present) to:
  1927.  
  1928.         ON; or
  1929.  
  1930.         OFF.
  1931.  
  1932. XERRBARS ON|OFF Sets the display of Y error bars (if data is
  1933. present) to:
  1934.  
  1935.         ON; or
  1936.  
  1937.         OFF.
  1938.  
  1939. RMARGIN ON|OFF Switches display of the right margin in
  1940. which data set legends may be displayed to:
  1941.  
  1942.         ON; or
  1943.  
  1944.         OFF.
  1945.  
  1946. XHAIR ON|OFF Switches between normal mouse pointer and
  1947. cross- hair cursor.
  1948.  
  1949.         ON      Displays cross-hair.
  1950.  
  1951.         OFF     Displays mouse pointer.
  1952.  
  1953. ALIGN (VERTICAL LEFT|CENTRE|RIGHT)|(HORIZONTAL
  1954. TOP|CENTRE|BOTTOM) Aligns selected items either vertically
  1955. or horizontally.
  1956.  
  1957.         VERTICAL        Aligns selected items vertically
  1958. LEFT            By their left edges.
  1959. CENTRE          By their centres.
  1960. RIGHT           By their right edges.
  1961.  
  1962.         HORIZONTAL Aligns selected items horizontally
  1963. TOP             By their tops.
  1964. CENTRE  By their centres.
  1965. BOTTOM  By their bottoms.
  1966.  
  1967. FORMAT XANDY|BOX|NONE Sets the format of the axes. The
  1968. possible selections are:
  1969.  
  1970.         XANDY   Stem and leaf (X and Y) axes.
  1971.  
  1972.         BOX             Box axes.
  1973.  
  1974.         NONE            No axes.
  1975.  
  1976.  
  1977. Example 5:
  1978. /* Hi Let's try this one */
  1979. address MULTIPLOT.01
  1980. 'FILE DATA/PLOTME.DAT'
  1981. /* The above line sets the input file */
  1982. 'COL 1 XCOL'
  1983. 'COL 2 YCOL'
  1984. 'COL 3 ECOL'
  1985. 'COL 4 EDWN'
  1986. 'COL 3 XERR'
  1987. 'COL 4 XERR'
  1988. /* The above 6 lines set the data columns for the input file */
  1989. 'CONTINUE'
  1990. /* The above line closes the SELECT DATA WINDOW */
  1991. 'YERR OFF'
  1992. 'XERR OFF'
  1993. /* The above 2 lines turn off the rendering of error bars */
  1994. 'FULLPLOT'
  1995. /*The above line replots the graph at the largest size that just
  1996. fits within the axes. */
  1997. /* end script */
  1998.  
  1999. THE CUSTOM PLOT WINDOW
  2000. This window allows the user to choose how each data set is
  2001. represented: the colour, line type, point type and size, which Y
  2002. axis it is rendered on and the type of plot (points, line, both,
  2003. bar, impulse, step).
  2004. The supported ARexx commands are:
  2005.  
  2006. QUERY Returns "CUSTPLOT Set number N" Where N is the set
  2007. number.
  2008.  
  2009. POINT N [SQUARE|PLUS|STAR|TIMES|DIAMOND|TRIANGLE]
  2010. Sets point size to N and the point shape to one of:
  2011.  
  2012.         SQUARE
  2013.  
  2014.         PLUS
  2015.  
  2016.         STAR
  2017.  
  2018.         TIMES
  2019.  
  2020.         DIAMOND
  2021.  
  2022.         TRIANGLE
  2023.  
  2024. LINETYPE N Sets line type to line pattern number N.
  2025.  
  2026. COLOUR N Sets colour of data set to colour number N.
  2027.  
  2028. YAXIS N Sets the data set to be plotted in the Nth Y Axis.
  2029.  
  2030. PLOT POINT|LINE|BOTH|STEP|IMPULSE|BAR Sets the data set
  2031. to be plotted as one of the following:
  2032.  
  2033. POINT           A series of points in the current colour, point
  2034. type and size.
  2035.  
  2036. LINE            A line rendered in current colour and line type.
  2037.  
  2038.  
  2039. BOTH            A series of points in the current colour, point
  2040. type and size joined by a line rendered in current colour and
  2041. line type.
  2042.  
  2043. STEP            A stepped line rendered in current colour and
  2044. line type.
  2045.  
  2046. IMPULSE         A series of lines rendered in current colour and line
  2047. type that extend from points rendered in the current colour,
  2048. point type and size to the X Axis.
  2049.  
  2050. BAR             A series of bars rendered in current colour and line
  2051. type that extend to the X Axis.
  2052.  
  2053. CONTINUE Accepts current changes, closes the custom plot
  2054. window and replots the graph.
  2055.  
  2056. STOP Cancels any changes, closes the custom plot window and
  2057. replots the graph.
  2058.  
  2059. SKIP Closes the custom plot window and replots the graph
  2060. without rendering the currently selected data set.
  2061.  
  2062. KILL Closes the custom plot window and replots the graph
  2063. after deleting the currently selected data set.
  2064.  
  2065. Example 6:
  2066.  
  2067. /* This ARexx script formats Plotme.dat into two stacked Y
  2068. axes and selects points and line types for the data sets. */
  2069.  
  2070. address MULTIPLOT.01
  2071. 'FILE DATA/PLOTME.DAT'
  2072. 'COL 1 XCOL'
  2073. 'COL 2 YCOL'
  2074. 'CONTINUE'
  2075. /* The above 4 lines set the filename and data columns, then
  2076. load data */
  2077. 'AXISADD'
  2078. /* The above line adds a second Y axis stacked above the first
  2079. */
  2080. 'SELECT SET 1'
  2081. 'SELECT ADD'
  2082. 'LAUNCH'
  2083. /* The above 3 lines open the CUSTOM PLOT WINDOW to edit
  2084. the  first data set */
  2085. 'PLOT POINT'
  2086. 'POINT 12 STAR'
  2087. 'YAXIS 2'
  2088. 'COLOUR 1'
  2089. 'CONTINUE'
  2090. /* The above 5 lines set the data set to be plotted in colour 1
  2091. as 12 pixel high points shaped like stars in the second (upper)
  2092. Y Axis */
  2093. 'SELECT SET 3'
  2094. 'SELECT ADD'
  2095. 'LAUNCH'
  2096. /* The above 3 lines open the CUSTOM PLOT WINDOW to edit
  2097. the third data set */
  2098. 'PLOT LINE'
  2099. 'LINETYPE 1'
  2100. 'YAXIS 2'
  2101. 'COLOUR 1'
  2102. 'CONTINUE'
  2103. /* The above 5 lines set the data set to be plotted in colour 1
  2104. solid lines in the second (upper) Y Axis */
  2105. 'SELECT SET 2'
  2106. 'SELECT ADD'
  2107. 'LAUNCH'
  2108. 'PLOT POINT'
  2109. 'POINT 12 TRIANGLE'
  2110. 'YAXIS 1'
  2111. 'COLOUR 2'
  2112. 'CONTINUE'
  2113. /*****/
  2114. 'SELECT SET 4'
  2115. 'SELECT ADD'
  2116. 'LAUNCH'
  2117. 'PLOT LINE'
  2118. 'LINETYPE 2'
  2119. 'YAXIS 1'
  2120. 'COLOUR 2'
  2121. 'CONTINUE'
  2122. /*****/
  2123. 'FULLPLOT'
  2124. /* end script */
  2125.  
  2126.  
  2127. THE EDIT AXIS WINDOW
  2128. This window allows the user to set the minimum and maximum
  2129. values, the tic numbers, types, colours, line patterns, as well as
  2130. the axis text label, type, and position.
  2131. The supported ARexx commands are:
  2132.  
  2133. QUERY Returns "EDAXIS ? Axis N" Where ? is either X or Y,
  2134. and N is an integer indicating the Y axis number.
  2135.  
  2136. LABEL Opens Edit Text Window to add or change the axis
  2137. label.
  2138.  
  2139. GRID BIG|SMALL [N1 [N2 [N3]]] Sets characteristics of the
  2140. grid or tics on the axis. The following arguments may be used:
  2141.  
  2142.         BIG Switch keyword indicating that the big tics will be
  2143. affected by changes.
  2144.  
  2145.         SMALL Switch keyword indicating that the small tics will
  2146. be affected by changes.
  2147.  
  2148.         N1 An integer indicating the new number of subdivisions.
  2149.  
  2150.         N2 An integer indicating the sort of subdivision marking.
  2151. If is '0', indicates that tic marks should be   used.
  2152. Otherwise a value from 1 - 6 indicates line type for grid lines.
  2153.  
  2154.         N3 An integer indicating the number of the colour for the
  2155. grid  or tics to be rendered in.
  2156.  
  2157. SCALE MIN|MAX N Sets the minimum or maximum axis values
  2158. where:
  2159.  
  2160.         MIN Is a switch keyword which sets the minimum axis
  2161. value.
  2162.  
  2163.         MAX Is a switch keyword which sets the maximum axis
  2164. value.
  2165.  
  2166.         N is a decimal value.
  2167.  
  2168. TYPE LIN|LOG|CAT Sets the axis type to one of the following:
  2169.  
  2170.         LIN Linear
  2171.  
  2172.         LOG Logarithmic
  2173.  
  2174.         CAT Category
  2175.  
  2176. POSITION RIGHT|LEFT Sets the position of the Y axis to
  2177. either the right or the left.
  2178.  
  2179.         RIGHT Sets position to the right of the plot.
  2180.  
  2181.         LEFT Sets the position to the left of the plot.
  2182.  
  2183. LOCKS SCALE|VALUES ON|OFF Sets the axis locks on or off.
  2184.  
  2185.         SCALE Switch keyword indicating the axis scale lock.
  2186.  
  2187.         VALUES Switch keyword indicating the axis values lock.
  2188.  
  2189.         ON Turns lock on.
  2190.  
  2191.         OFF Turns lock off.
  2192.  
  2193. CONTINUE Closes Edit Axis Window, accepting current changes.
  2194.  
  2195. STOP Closes Edit Axis Window, discarding current changes.
  2196.  
  2197. KILL Deletes current Y axis if more than one Y axis present.
  2198.  
  2199. THE EDIT POINT WINDOW
  2200. This window allows the user to set the values of an individual
  2201. point.
  2202. Supported ARexx commands are:
  2203.  
  2204. QUERY Returns the string "POINTED Point number N1 of set
  2205. number N2" where the point is the N1st point of the N2nd data
  2206. set.
  2207.  
  2208. SET N XVAL|YVAL|EVAL|EDWN|XERR|XEDN Sets a point value
  2209. to N where N is a decimal number.
  2210.  
  2211.         XVAL Sets X value.
  2212.  
  2213.         YVAL Sets Y value.
  2214.  
  2215.         EVAL Sets high error in Y value.
  2216.  
  2217.         EDWN Sets low error in Y value.
  2218.  
  2219.         XERR Sets high error in X value.
  2220.  
  2221.         XEDN Sets low error in X value.
  2222.  
  2223. CONTINUE Closes Edit Point Window, accepting current
  2224. changes.
  2225.  
  2226. STOP Closes Edit Point Window, discarding current changes.
  2227.  
  2228. THE EDIT TEXT WINDOW
  2229. This window allows the user to set the text, font and point
  2230. size of text.
  2231. Supported ARexx commands are:
  2232.  
  2233. QUERY Returns the string "TEXTED <text>"
  2234.  
  2235. TEXT <text> Sets the text to <text>. If <text>is not defined,
  2236. clears text from the text box.
  2237.  
  2238. FONT <font name> Sets the font to <font name>.
  2239.  
  2240. SIZE N Sets font size to N pixels in height.
  2241.  
  2242. CONTINUE Closes Edit Text Window, accepting current
  2243. changes.
  2244.  
  2245. STOP Closes Edit Text Window, discarding current changes.
  2246.  
  2247. Example 7:
  2248. /* This example ARexx script demonstrates the use of some of
  2249. the ARexx commands available for manipulating the Edit Axis
  2250. and Edit Text Windows */
  2251. address MULTIPLOT.01
  2252. 'FILE DATA/PLOTME.DAT'
  2253. 'COL 1 XCOL'
  2254. 'COL 2 YCOL'
  2255. 'CONTINUE'
  2256.  
  2257. 'AXISADD'
  2258. 'EDAXIS Y 1'
  2259. 'SCALE MIN 10'
  2260. 'SCALE MAX 60'
  2261. 'GRID BIG 5 1 2'
  2262. 'GRID SMALL 2 2 2'
  2263. 'LABEL'
  2264. 'TEXT LEFT'
  2265. 'CONTINUE'
  2266. 'CONTINUE'
  2267.  
  2268. 'EDAXIS Y 2'
  2269. 'SCALE MIN 30'
  2270. 'SCALE MAX 50'
  2271. 'GRID BIG 5 1 2'
  2272. 'GRID SMALL 2 2 2'
  2273. 'POSITION RIGHT'
  2274. 'LABEL'
  2275. 'TEXT RIGHT'
  2276. 'CONTINUE'
  2277. 'CONTINUE'
  2278.  
  2279. 'FORMAT BOX'
  2280. 'SELECT SET 3'
  2281. 'SELECT ADD'
  2282. 'LAUNCH'
  2283. 'YAXIS 2'
  2284. 'PLOT LINE'
  2285. 'CONTINUE'
  2286.  
  2287. 'SELECT SET 4'
  2288. 'SELECT ADD'
  2289. 'LAUNCH'
  2290. 'PLOT LINE'
  2291. 'CONTINUE'
  2292.  
  2293. 'SELECT SET 1'
  2294. 'SELECT REPLACE'
  2295. 'SELECT SET 2'
  2296. 'SELECT ADD'
  2297. 'DELETE'
  2298.  
  2299. 'REPLOT'
  2300. /* end script */
  2301.  
  2302. THE PRINT SETUP WINDOW
  2303. This window allows the user to alter global printing settings as
  2304. well as control the printing of plots individually.
  2305. The supported ARexx commands are:
  2306.  
  2307. QUERY Returns the string "SETPRINT"
  2308.  
  2309. PEN N1 [N2] Sets the N1st pen to N2 points wide. Multiplot
  2310. uses the pen concept borrowed from pen plotters in which each
  2311. pen can be set with an individual colour and pen width.
  2312.  
  2313. GRAPH ON|OFF Controls the rendering of the currently active
  2314. graph.
  2315.  
  2316.         ON Ensures the currently active graph is printed when
  2317. the PROJECT/Print menu option is selected.
  2318.  
  2319.         OFF Prevents the currently active graph being printed.
  2320.  
  2321. SPOOL ON|OFF Switches on or off the print spool.
  2322.  
  2323. MODE COLOUR|COLOR|B&W Sets the print out to either colour
  2324. or black and white.
  2325.  
  2326.         COLOUR Prints in colour.
  2327.         COLOR  Prints in colour.
  2328.  
  2329.         B&W Prints in black and white.
  2330.  
  2331. CONTINUE Closes Print Setup Window, accepting current
  2332. changes.
  2333.  
  2334. CHAPTER 7: HINTS AND TIPS
  2335.  
  2336. QUESTIONS AND ANSWERS
  2337. Q: What can I do to improve the appearance of the printed
  2338. output on my dot matrix printer?
  2339. A: One way to enhance the appearance of your printouts is to
  2340. use different pen thicknesses. For example, the axes could be
  2341. in a thick pen, and the grid lines in a finer pen. To do this
  2342. ensure that objects you want in different thicknesses are in
  2343. different colours. Then open the PRINT SETUP WINDOW
  2344. (PROJECT/Print setup menu option) and set the desired pen
  2345. thickness for each colour.
  2346.  
  2347. Q: How do I get a line fit of only part of a data set?
  2348. A: Group select (shift-control-select) and delete the unwanted
  2349. data points. Select the set, choose the FUNCTIONS/Linear fit
  2350. menu option, and select the EDIT/Undelete menu option.
  2351.  
  2352. TROUBLE SHOOTING
  2353. Problem: I am not American, and when I print, Multiplot tries
  2354. to write on a page that is wider than the paper I use.
  2355. Solution: Neither am I, and it does work! Ensure that the page
  2356. width in the preferences program is set to "Narrow Tractor"
  2357. and that you have not altered the PLT: start-up flags in the
  2358. devs:mountlist file to indicate a larger page size. If necessary,
  2359. the page size can be set in absolute terms in preferences.
  2360.  
  2361. Problem: Sometimes when I run Multiplot, it doesn't seem to be
  2362. able to find its palette file or the conversion utilities, even
  2363. though they are right in its own directory.
  2364. Solution: Multiplot remembers where these files are by their
  2365. full path specification. If another disk or device exists with the
  2366. same name as the disk Multiplot resides on, it may not be able
  2367. to find the files. The commonest problem results from naming
  2368. the Multiplot disk "Empty" or a data disk "Multiplot".
  2369.  
  2370. Problem: When I try to print a plot, PLT can't find the file
  2371. pltfontnames.
  2372. Solution: Pltfontnames must reside in a device called
  2373. PLTDATA:. This is best done by assigning PLTDATA: to the
  2374. directory in which pltfontnames is kept.
  2375.  
  2376. Problem: I set a data set to be shown as a line, and then
  2377. changed my mind, and reset it as a point plot, but I forgot to
  2378. change the point size, and the data set has disappeared, and I
  2379. can't find any of the points to select it again.
  2380. Solution: Use the Redefine Plot option on the ACTION menu to
  2381. review all the settings for all data sets. When you get to the
  2382. "lost" set, select a point size greater than zero.
  2383.  
  2384. Problem: After setting the number of significant figures, I
  2385. don't notice any change in the significant figures used in the
  2386. legends.
  2387. Solution: The significant figures option is accessed at the time
  2388. the values are calculated. To change the number of significant
  2389. figures in values on screen, you will need to force a
  2390. recalculation by deleting the line fit, and recalculating it.
  2391.  
  2392. Problem: I use WShell and am having trouble with many of the
  2393. save menu options in Multiplot.
  2394. Solution: A bug in WShell assumes that any CLI command in
  2395. quotes ("") is an ARexx command. This contravenes Commodore
  2396. guidelines and as yet I have not been able to devise a work
  2397. around. W Hawes is aware of this problem.
  2398.  
  2399. Problem: When I print, I get all the currently open graphs
  2400. printing on top of each other.
  2401. Solution: Activate each PLOT WINDOW in turn, open the PRINT
  2402. SETUP window and either turn off the print button on the
  2403. graohs you don't want to print, or size and position the plots
  2404. so that they don't overlap.
  2405.  
  2406. CHAPTER 8: CONCLUSION
  2407.  
  2408. CHANGES SINCE XLNe
  2409. NOTE: Multiplot is now WB2.1 compatible.
  2410.  
  2411. New Feature:    Multiple windows supported.
  2412. New Feature:    Multiple Y axes supported.
  2413. New Feature:    Zounds! user interface added.
  2414. New Feature:    Support for asymmetrical errors in X added.
  2415. New Feature:    Data file contains more formatting information.
  2416. New Feature:    Save/Load default settings and axes added.
  2417. New Feature:    Improved PLT: support with pen colours and
  2418. thicknesses settable.
  2419. New Feature:    Colour print preview.
  2420. New Feature:    Grid line types and colours user definable.
  2421. New Feature:    Auto alignment available.
  2422. New Feature:    Text font and size user definable.
  2423.  
  2424. THE FUTURE
  2425. Probable enhancements to come are: Direct printer support,
  2426. DR2D output, advanced statistical analysis. Suggestions
  2427. welcomed.
  2428.  
  2429. BETA TESTERS WANTED
  2430. If you are a registered user and would like to see the latest
  2431. version of Multiplot, why not volunteer as a beta tester?
  2432. Either notify when registering or write to the address below.
  2433.  
  2434. CONCLUSION
  2435. Multiplot was the first intuitive Data plotting program for the
  2436. Amiga. It has since been joined by a number of other programs
  2437. which enable the display of experimental data but is unrivalled
  2438. for ease of use, stability and flexibility. It allows extremely
  2439. rapid visualisation of experimental data with a wide selection
  2440. of output formats. It does a simple job, but does it well. If you
  2441. have suggestions, questions or bug finds, please write:
  2442.  
  2443. Dr Alan G Baxter, Cambridge University Department of
  2444. Pathology,  Division of Immunology,  Tennis Court Road,
  2445. Cambridge, CB2 1QP, UK
  2446.  
  2447. agb16@phx.cam.ac.uk
  2448.